Skip to content
This repository was archived by the owner on May 11, 2025. It is now read-only.
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.yml]
indent_size = 2
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -132,4 +132,4 @@ modules
.stignore

# config
config/EPlayer
config
1 change: 0 additions & 1 deletion Procfile

This file was deleted.

3 changes: 0 additions & 3 deletions clearmodules.js

This file was deleted.

19 changes: 0 additions & 19 deletions config/BotStatus/config.yml

This file was deleted.

3 changes: 0 additions & 3 deletions config/nocrash/config.yml

This file was deleted.

2,566 changes: 2,566 additions & 0 deletions package-lock.json

Large diffs are not rendered by default.

35 changes: 15 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,35 +1,30 @@
{
"name": "e-player",
"version": "1.2.0",
"description": "Discord music player",
"author": "FalloutStudios",
"license": "GPL-3.0",
"scripts": {
"clean": "node clearmodules.js",
"build": "yarn run clean && npx tsc",
"test": "yarn run build && npx reciple -D -c reciple.test.yml",
"postinstall": "yarn build",
"clean": "npx rimraf modules",
"build": "npm run clean && npx tsc",
"test": "npm run build && npx rimraf config/e-player && npx reciple -D -c reciple.yml",
"start": "npx reciple"
},
"dependencies": {
"@discordjs/opus": "^0.8.0",
"@ghextercortes/djs-pagination": "^1.0.0",
"discord-player": "^5.2.2",
"discord.js": "^13.8.1",
"fallout-utility": "^1.4.2",
"genius-lyrics": "^4.3.8",
"libsodium-wrappers": "^0.7.10",
"ms": "^2.1.3",
"opusscript": "^0.0.8",
"reciple": "^1.7.0",
"sodium": "^3.0.2",
"tweetnacl": "^1.0.3",
"yaml": "^2.1.1"
"discord-player": "^5.3.2",
"discord.js": "^14.7.1",
"fallout-utility": "^1.5.21",
"play-dl": "^1.9.6",
"reciple": "^6.0.0",
"soundcloud-scraper": "^5.0.3",
"spotify-url-info": "^3.1.9",
"yaml": "^2.1.3",
"youtube-sr": "^4.3.4",
"ytdl-core": "^4.11.2"
},
"devDependencies": {
"@types/ms": "^0.7.31",
"@types/node": "^18.0.3",
"axios": "^0.27.2",
"typescript": "^4.7.4"
"@types/node": "^18.7.17",
"typescript": "^4.8.3"
}
}
109 changes: 0 additions & 109 deletions reciple.test.yml

This file was deleted.

146 changes: 79 additions & 67 deletions reciple.yml
Original file line number Diff line number Diff line change
@@ -1,109 +1,121 @@
# Your bot token here
# To use env variable as a token just do it like this env:env:TOKEN_ENV
# To use env variable as a token just do it like this env:TOKEN_ENV
token: env:TOKEN

# Message command prefix
prefix: 'e!'


# Commands options
commands:
messageCommand:
# enable message commands
enabled: true
# reply when an error occured
replyOnError: true
# Allow executing commands via aliases
allowCommandAlias: true
# command argument separator
commandArgumentSeparator: ' '
interactionCommand:
# Interaction command options
slashCommand:
# enable interaction commands
enabled: true
# reply when an error occured
replyOnError: true
replyOnError: false
# enable the use of command cooldowns
enableCooldown: true
# register interaction commands on bot ready
registerCommands: true
# allow register empty list of application commands
allowRegisterEmptyCommandList: true
# set required permissions for interaction commands
setRequiredPermissions: true
# accept replied or deffered command interaction
acceptRepliedInteractions: false
# register commands to specific guild(s) empty to make it global
guilds: []


# Commands permissions
permissions:
messageCommands:
# enable command permissions
enabled: true
commands: []
interactionCommands:
# enable command permissions
# overwrite command permissions
permissions:
# enable overwriten command permissions
enabled: false
commands:
- command: example-command
permissions:
- Administrator

# message command options
messageCommand:
# enable message commands
enabled: true
commands: []


# Ignored channel IDs
ignoredChannels:
# enable ignored channels
enabled: false
# convert to only allowed channels
convertToAllowList: false
# channel IDs
channels: []

# command prefix
prefix: '!'
# reply when an error occured
replyOnError: false
# enable the use of command cooldowns
enableCooldown: true
# allow executing commands via aliases
allowCommandAlias: true
# command argument separator
commandArgumentSeparator: ' '
# overwrite command permissions
permissions:
# enable overwriten command permissions
enabled: false
commands:
- command: example-command
permissions:
- Administrator

# Logger options
fileLogging:
# enable console output to file
enabled: true
# enable debug mode
debugmode: false
# Client logs
# enable if reciple will use the logger
clientLogs: true
# stringify logged JSONs
stringifyLoggedJSON: true
stringifyLoggedJSON: false
# log file path
logFilePath: './logs/latest.log'
logFilePath: logs/latest.log

# Client options
# Learn more about client options at https://discord.js.org/#/docs/discord.js/main/typedef/ClientOptions
client:
repliedUser: false
allowedMentions:
parse: ['users', 'roles']
failIfNotExists: false
intents:
- 'GUILDS'
- 'GUILD_MEMBERS'
- 'GUILD_MESSAGES'
- 'GUILD_VOICE_STATES'
- Guilds
- GuildMembers
- GuildMessages
- MessageContent
- GuildVoiceStates

# Bot replies
# Bot messages
messages:
notEnoughArguments: 'Not enough arguments.'
missingArguments: Not enough arguments.
invalidArguments: Invalid argument(s) given.
insufficientBotPerms:
content: Insufficient bot permissions.
ephemeral: true
noPermissions:
content: 'You do not have permission to use this command.'
content: You do not have permission to use this command.
ephemeral: true
cooldown:
content: You cannot execute this command right now due to the cooldown.
ephemeral: true
error:
content: 'An error occurred.'
content: An error occurred.
ephemeral: true

# Ignored Files
ignoredFiles: []


###################################################
# #
# ##### ##### # # ### ##### #### #
# # # # # # # # # # # # #
# # # ##### # # # # ### ### #### #
# # # # # # # # # # # # #
# ### # # # # ### ##### # # #
# #
###################################################
## Modifying these values below can cause errors ##
ignoredFiles:
- '_*'
- '.*'


####################################################
# #
# ##### ##### # # ### ##### #### #
# # # # # # # # # # # # #
# # # ##### # # # # ### ### #### #
# # # # # # # # # # # # #
# ### # # # # ### ##### # # #
# #
####################################################
## Modifying the values below could break reciple ##

# Modules folder
modulesFolder: 'modules'

# Load modules regardless of its supported versions
disableVersionCheck: false

# Current version
version: 1.7.0
version: ^6.0.0
Loading