Skip to content

Commit

Permalink
v4.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Uo1428 committed Aug 8, 2023
1 parent e90db01 commit 3050ff2
Show file tree
Hide file tree
Showing 195 changed files with 2,276 additions and 1,823 deletions.
4 changes: 0 additions & 4 deletions .config/configstore/update-notifier-npm.json

This file was deleted.

7 changes: 3 additions & 4 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
DISCORD_TOKEN=
MONGO_TOKEN=
GIPHY_TOKEN=
WEBHOOK_ID=
WEBHOOK_TOKEN=
DISCORD_ID=
OWNER_ID=



# Not neccessary variables
DISCORD_STATUS="Listening to meself, I'm a stupid bot"
DISCORD_STATUS="Listening to meself, i love you"
RADIO=
TOPGG_TOKEN=
SPOTIFY_CLIENT_ID=
SPOTIFY_CLIENT_SECRET=
LAVALINK_HOST=lava.link
LAVALINK_PASSWORD=I'm a secret
LAVALINK_PORT=80
GIPHY_TOKEN=
LAVALINK_SECURE=false
OPENAI=
75 changes: 74 additions & 1 deletion .replit
Original file line number Diff line number Diff line change
@@ -1,3 +1,76 @@
hidden = [".config"]
run = "npm run start"
entryPoint = "src/index.js"

[[hints]]
regex = "Error \\[ERR_REQUIRE_ESM\\]"
message = "We see that you are using require(...) inside your code. We currently do not support this syntax. Please use 'import' instead when using external modules. (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import)"

[nix]
channel = "stable-22_05"

[env]
XDG_CONFIG_HOME = "/home/runner/.config"
PATH = "/home/runner/$REPL_SLUG/.config/npm/node_global/bin:/home/runner/$REPL_SLUG/node_modules/.bin"
npm_config_prefix = "/home/runner/$REPL_SLUG/.config/npm/node_global"

[gitHubImport]
requiredFiles = [".replit", "replit.nix", ".config"]

[packager]
language = "nodejs"

[packager.features]
packageSearch = true
guessImports = true
enabledForHosting = false

[unitTest]
language = "nodejs"

[debugger]
support = true

[debugger.interactive]
transport = "localhost:0"
startCommand = ["dap-node"]

[debugger.interactive.initializeMessage]
command = "initialize"
type = "request"

[debugger.interactive.initializeMessage.arguments]
clientID = "replit"
clientName = "replit.com"
columnsStartAt1 = true
linesStartAt1 = true
locale = "en-us"
pathFormat = "path"
supportsInvalidatedEvent = true
supportsProgressReporting = true
supportsRunInTerminalRequest = true
supportsVariablePaging = true
supportsVariableType = true

[debugger.interactive.launchMessage]
command = "launch"
type = "request"

[debugger.interactive.launchMessage.arguments]
args = []
console = "externalTerminal"
cwd = "."
environment = []
pauseForSourceMap = false
program = "./index.js"
request = "launch"
sourceMaps = true
stopOnEntry = false
type = "pwa-node"

[languages]

[languages.javascript]
pattern = "**/{*.js,*.jsx,*.ts,*.tsx}"

[languages.javascript.languageServer]
start = "typescript-language-server --stdio"
1 change: 0 additions & 1 deletion .upm/store.json

This file was deleted.

4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM node:latest
FROM node:18-buster
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm install
COPY . .
CMD ["npm", "start"]
CMD ["npm", "start"]
16 changes: 9 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
# Discord-Bot
## 🤖 Discord bot with over 400 commands.
<div align="center">
<h1>Discord-Bot</h1
<p>A discord bot with alot of features.....<p>
</div>

![image](https://images-ext-2.discordapp.net/external/g3g819pEvW-xa-WU2rqgFRFkhuPflF4_mxoK63VPZ0A/https/storage.googleapis.com/replit/images/1671693930209_5b7ac25cf82388ebc5dc9793fa0bbc97.png)
![image](https://img.youtube.com/vi/yuyZPfslrsw/maxresdefault.jpg)


# [ALL IN ONΞ™](https://tinyurl.com/3jvb65tv)
## [YouTube](https://tinyurl.com/3jvb65tv )
## [YouTube](https://tinyurl.com/3jvb65tv)
### [Support Server](https://discord.gg/uoaio)

# How to setup the bot?
- Watch YouTube Video: [click here](https://www.youtube.com/watch?v=EWrveHpXFQI)
- Watch YouTube Video: [click here](https://www.youtube.com/watch?v=yuyZPfslrsw)
---

### 💘 Emotes Servers
Expand All @@ -21,8 +23,8 @@
* 3.1.0: https://discord.gg/M7DWTrYEWZ

### 💕Credit
- Code By Corwin#0001
- Modified By Uo#1428
- Code By Techpoint Development
- Modified By @uoaio - .gg/uoaio

## ✨ Discord Profile
<div align="center">
Expand Down
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"main": "./src/index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node . --trace-warnings"
"start": "node . --trace-warnings",
"add-dev": "node src/dev.js"
},
"keywords": [
"Music",
Expand All @@ -26,37 +27,36 @@
"author": "uo1428",
"license": "ISC",
"dependencies": {
"@discordjs/voice": "^0.14.0",
"@discordjs/voice": "^0.16.0",
"@haileybot/captcha-generator": "^1.7.0",
"@iamtraction/google-translate": "^2.0.1",
"@napi-rs/canvas-linux-x64-gnu": "^0.1.30",
"@top-gg/sdk": "^3.1.3",
"axios": "^1.2.1",
"axios": "^1.2.2",
"canvacord": "^5.4.8",
"chalk": "^4.1.2",
"cheerio": "^1.0.0-rc.12",
"discord-giveaways": "^6.0.1",
"discord-image-generation": "^1.4.15",
"discord.js": "^14.7.1",
"dompurify": "^2.4.1",
"discord-image-generation": "^1.4.23",
"discord.js": "^14.8.0",
"dompurify": "^3.0.1",
"dotenv": "^16.0.3",
"erela.js": "^2.4.0",
"erela.js-apple": "^1.2.6",
"erela.js-deezer": "^1.0.7",
"erela.js-facebook": "^1.0.4",
"erela.js-spotify": "^1.2.0",
"express": "^4.18.2",
"ffmpeg-static": "^5.1.0",
"figlet": "^1.5.2",
"fs": "^0.0.1-security",
"generate-password": "^1.7.0",
"giphy-api": "^2.0.2",
"hdqwalls-wrapper": "^1.0.4",
"he": "^1.2.0",
"html-entities": "^2.3.3",
"i": "^0.3.7",
"is-hexcolor": "^1.0.0",
"isgd": "^1.1.3",
"jsdom": "^20.0.3",
"jsdom": "^21.1.0",
"libsodium-wrappers": "^0.7.10",
"lyrics-finder": "^21.7.0",
"mathjs": "^11.5.0",
Expand All @@ -76,6 +76,6 @@
"ytdl-core": "^4.11.2"
},
"devDependencies": {
"node": "^19.8.1"
"node": "^18.12.0"
}
}
29 changes: 0 additions & 29 deletions replit_zip_error_log.txt

This file was deleted.

5 changes: 0 additions & 5 deletions src/Collection/index.js

This file was deleted.

4 changes: 2 additions & 2 deletions src/assets/utils/TriviaPlayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ class TriviaPlayer {
let skipCounter = 0;
const skippedArray = [];

const collector = this.textChannel.channel.createMessageCollector({
const collector = this.textChannel.createMessageCollector({
time: 30000
});

Expand Down Expand Up @@ -295,4 +295,4 @@ var normalizeValue = value =>
.replace(/\s+/g, ' ')
.toLowerCase(); // remove duplicate spaces

module.exports = TriviaPlayer;
module.exports = TriviaPlayer;
Loading

0 comments on commit 3050ff2

Please sign in to comment.