Compare commits
3 commits
03b3b9189e
...
73e5050ded
Author | SHA1 | Date | |
---|---|---|---|
73e5050ded | |||
afed8e9108 | |||
7db77c9916 |
3 changed files with 30 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -2,3 +2,4 @@
|
|||
node_modules/
|
||||
bin/
|
||||
config/config.json
|
||||
json/board/
|
|
@ -7,7 +7,7 @@ const { twiConsumer, twiConsumerSecret, twiToken, twiTokenSecret } = process.env
|
|||
|
||||
export default {
|
||||
data: new SlashCommandBuilder()
|
||||
.setName('deletewteet')
|
||||
.setName('deletetweet')
|
||||
.setDescription('Delete a tweet')
|
||||
.addStringOption(option =>
|
||||
option.setName('tweetid')
|
||||
|
|
|
@ -113,6 +113,34 @@ const commands = [
|
|||
option.setName('something')
|
||||
.setDescription('🤫')
|
||||
.setRequired(true)),
|
||||
|
||||
new SlashCommandBuilder()
|
||||
.setName('die')
|
||||
.setDescription('Kill the bot'),
|
||||
|
||||
new SlashCommandBuilder()
|
||||
.setName('ublacklist')
|
||||
.setDescription('Blacklist a user from the bot')
|
||||
.addStringOption(option =>
|
||||
option.setName('command')
|
||||
.setDescription('Which command do you want to get a user blacklisted from?')
|
||||
.setRequired(true))
|
||||
.addStringOption(option =>
|
||||
option.setName('userid')
|
||||
.setDescription('Who do you want to blacklist?')
|
||||
.setRequired(true))
|
||||
.addStringOption(option =>
|
||||
option.setName('reason')
|
||||
.setDescription('The reason of the blacklist.')
|
||||
.setRequired(false)),
|
||||
|
||||
new SlashCommandBuilder()
|
||||
.setName('deletetweet')
|
||||
.setDescription('Delete a tweet')
|
||||
.addStringOption(option =>
|
||||
option.setName('tweetid')
|
||||
.setDescription('The id of the tweet you wish to delete.')
|
||||
.setRequired(true)),
|
||||
]
|
||||
.map(command => command.toJSON());
|
||||
|
||||
|
|
Loading…
Reference in a new issue