-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22 from akash5100/minorBugs
fixed few hardcoded tags
- Loading branch information
Showing
3 changed files
with
60 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
DISCORD_GUILD_ID=<Your server id> | ||
DISCORD_TOKEN=<Your Discord bot token(Client secret)> | ||
DISCORD_CLIENT_ID=<Discord bot Client id> | ||
DISCORD_CLIENT_ID=<Discord bot Client id> | ||
INVITE_LINK= < invitation link to a voice channel set it to No expire + no limit > |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,36 @@ | ||
const { SlashCommandBuilder } = require('@discordjs/builders'); | ||
|
||
const commands = [ | ||
new SlashCommandBuilder() | ||
.setName('ping') | ||
.setDescription('Replies with pong!'), | ||
new SlashCommandBuilder() | ||
.setName('server') | ||
.setDescription('Replies with server info!'), | ||
new SlashCommandBuilder() | ||
.setName('user') | ||
.setDescription('Replies with user info!'), | ||
new SlashCommandBuilder() | ||
.setName('m') | ||
.setDescription('Is there someone available who can help me') | ||
.addNumberOption((option) => | ||
option.setName('minutes').setDescription('Amount of time we need.') | ||
), | ||
new SlashCommandBuilder().setName('l').setDescription('Help others'), | ||
new SlashCommandBuilder().setName('p').setDescription('Priority list'), | ||
new SlashCommandBuilder().setName('r').setDescription('respond to someone'), | ||
new SlashCommandBuilder().setName('mc').setDescription('Critical Priority'), | ||
new SlashCommandBuilder().setName('mh').setDescription('High Priority'), | ||
new SlashCommandBuilder().setName('mm').setDescription('Medium Priority'), | ||
new SlashCommandBuilder().setName('ml').setDescription('Low Priority'), | ||
new SlashCommandBuilder().setName('help').setDescription('List of all the commands'), | ||
new SlashCommandBuilder().setName('h').setDescription('List of all the commands'), | ||
new SlashCommandBuilder() | ||
.setName('ping') | ||
.setDescription('Replies with pong!'), | ||
new SlashCommandBuilder() | ||
.setName('server') | ||
.setDescription('Replies with server info!'), | ||
new SlashCommandBuilder() | ||
.setName('user') | ||
.setDescription('Replies with user info!'), | ||
new SlashCommandBuilder() | ||
.setName('m') | ||
.setDescription('Is there someone available who can help me') | ||
.addNumberOption((option) => | ||
option.setName('minutes').setDescription('Amount of time we need.') | ||
), | ||
new SlashCommandBuilder().setName('l').setDescription('Help others'), | ||
new SlashCommandBuilder().setName('p').setDescription('Priority list'), | ||
new SlashCommandBuilder().setName('r').setDescription('respond to someone'), | ||
new SlashCommandBuilder().setName('mc').setDescription('Critical Priority'), | ||
new SlashCommandBuilder().setName('mh').setDescription('High Priority'), | ||
new SlashCommandBuilder().setName('mm').setDescription('Medium Priority'), | ||
new SlashCommandBuilder().setName('ml').setDescription('Low Priority'), | ||
new SlashCommandBuilder() | ||
.setName('help') | ||
.setDescription('List of all the commands'), | ||
new SlashCommandBuilder() | ||
.setName('h') | ||
.setDescription('List of all the commands'), | ||
].map((command) => command.toJSON()); | ||
|
||
module.exports = { | ||
getAllCommands: () => commands | ||
}; | ||
getAllCommands: () => commands, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters