mirror of
https://github.com/toast-ts/Daggerbot-TS.git
synced 2024-11-17 00:10:58 -05:00
Remove unneeded field from builder as bot isn't global.
This commit is contained in:
parent
b23ee39fc1
commit
b717d58998
@ -7,7 +7,6 @@ export default {
|
|||||||
data: new SlashCommandBuilder()
|
data: new SlashCommandBuilder()
|
||||||
.setName('ban')
|
.setName('ban')
|
||||||
.setDescription('Ban a member from the server')
|
.setDescription('Ban a member from the server')
|
||||||
.setDMPermission(false)
|
|
||||||
.addUserOption((opt)=>opt
|
.addUserOption((opt)=>opt
|
||||||
.setName('member')
|
.setName('member')
|
||||||
.setDescription('Which member to ban?')
|
.setDescription('Which member to ban?')
|
||||||
|
@ -23,7 +23,6 @@ export default {
|
|||||||
data: new SlashCommandBuilder()
|
data: new SlashCommandBuilder()
|
||||||
.setName('bannedwords')
|
.setName('bannedwords')
|
||||||
.setDescription('description placeholder')
|
.setDescription('description placeholder')
|
||||||
.setDMPermission(false)
|
|
||||||
.addSubcommand((opt)=>opt
|
.addSubcommand((opt)=>opt
|
||||||
.setName('view')
|
.setName('view')
|
||||||
.setDescription('View the list of currently banned words.'))
|
.setDescription('View the list of currently banned words.'))
|
||||||
|
@ -20,7 +20,6 @@ export default {
|
|||||||
data: new SlashCommandBuilder()
|
data: new SlashCommandBuilder()
|
||||||
.setName('bonk')
|
.setName('bonk')
|
||||||
.setDescription('Bonk a member')
|
.setDescription('Bonk a member')
|
||||||
.setDMPermission(false)
|
|
||||||
.addUserOption((opt)=>opt
|
.addUserOption((opt)=>opt
|
||||||
.setName('member')
|
.setName('member')
|
||||||
.setDescription('Which member to bonk?')
|
.setDescription('Which member to bonk?')
|
||||||
|
@ -52,7 +52,6 @@ export default {
|
|||||||
data: new SlashCommandBuilder()
|
data: new SlashCommandBuilder()
|
||||||
.setName('case')
|
.setName('case')
|
||||||
.setDescription('Retrieve case information or user\'s punishment history')
|
.setDescription('Retrieve case information or user\'s punishment history')
|
||||||
.setDMPermission(false)
|
|
||||||
.addSubcommand((opt)=>opt
|
.addSubcommand((opt)=>opt
|
||||||
.setName('view')
|
.setName('view')
|
||||||
.setDescription('View a single case.')
|
.setDescription('View a single case.')
|
||||||
|
@ -18,5 +18,4 @@ export default {
|
|||||||
data: new SlashCommandBuilder()
|
data: new SlashCommandBuilder()
|
||||||
.setName('contributors')
|
.setName('contributors')
|
||||||
.setDescription('List of people who contributed to the bot.')
|
.setDescription('List of people who contributed to the bot.')
|
||||||
.setDMPermission(false)
|
|
||||||
}
|
}
|
@ -82,7 +82,6 @@ export default {
|
|||||||
data: new SlashCommandBuilder()
|
data: new SlashCommandBuilder()
|
||||||
.setName('dev')
|
.setName('dev')
|
||||||
.setDescription('Developer commands')
|
.setDescription('Developer commands')
|
||||||
.setDMPermission(false)
|
|
||||||
.addSubcommand((optt)=>optt
|
.addSubcommand((optt)=>optt
|
||||||
.setName('eval')
|
.setName('eval')
|
||||||
.setDescription('Execute the code to the bot')
|
.setDescription('Execute the code to the bot')
|
||||||
|
@ -24,7 +24,6 @@ export default {
|
|||||||
data: new SlashCommandBuilder()
|
data: new SlashCommandBuilder()
|
||||||
.setName('faq')
|
.setName('faq')
|
||||||
.setDescription('List of FAQ for users')
|
.setDescription('List of FAQ for users')
|
||||||
.setDMPermission(false)
|
|
||||||
.addStringOption((opt)=>opt
|
.addStringOption((opt)=>opt
|
||||||
.setName('question')
|
.setName('question')
|
||||||
.setDescription('What question do you want answered?')
|
.setDescription('What question do you want answered?')
|
||||||
|
@ -47,7 +47,6 @@ export default {
|
|||||||
data: new SlashCommandBuilder()
|
data: new SlashCommandBuilder()
|
||||||
.setName('url')
|
.setName('url')
|
||||||
.setDescription('View the URL for this server\'s FSMP server or update the URL')
|
.setDescription('View the URL for this server\'s FSMP server or update the URL')
|
||||||
.setDMPermission(false)
|
|
||||||
.addStringOption((opt)=>opt
|
.addStringOption((opt)=>opt
|
||||||
.setName('address')
|
.setName('address')
|
||||||
.setDescription('Insert a \'dedicated-server-stats\' url'))
|
.setDescription('Insert a \'dedicated-server-stats\' url'))
|
||||||
|
@ -7,7 +7,6 @@ export default {
|
|||||||
data: new SlashCommandBuilder()
|
data: new SlashCommandBuilder()
|
||||||
.setName('kick')
|
.setName('kick')
|
||||||
.setDescription('Boot a member from the server')
|
.setDescription('Boot a member from the server')
|
||||||
.setDMPermission(false)
|
|
||||||
.addUserOption((opt)=>opt
|
.addUserOption((opt)=>opt
|
||||||
.setName('member')
|
.setName('member')
|
||||||
.setDescription('Which member to kick?')
|
.setDescription('Which member to kick?')
|
||||||
|
@ -260,7 +260,6 @@ export default {
|
|||||||
data: new SlashCommandBuilder()
|
data: new SlashCommandBuilder()
|
||||||
.setName('mp')
|
.setName('mp')
|
||||||
.setDescription('Display MP status and other things')
|
.setDescription('Display MP status and other things')
|
||||||
.setDMPermission(false)
|
|
||||||
.addSubcommand((opt)=>opt
|
.addSubcommand((opt)=>opt
|
||||||
.setName('status')
|
.setName('status')
|
||||||
.setDescription('Check server status and details'))
|
.setDescription('Check server status and details'))
|
||||||
|
@ -7,7 +7,6 @@ export default {
|
|||||||
data: new SlashCommandBuilder()
|
data: new SlashCommandBuilder()
|
||||||
.setName('mute')
|
.setName('mute')
|
||||||
.setDescription('Mute a member')
|
.setDescription('Mute a member')
|
||||||
.setDMPermission(false)
|
|
||||||
.addUserOption((opt)=>opt
|
.addUserOption((opt)=>opt
|
||||||
.setName('member')
|
.setName('member')
|
||||||
.setDescription('Which member to mute?')
|
.setDescription('Which member to mute?')
|
||||||
|
@ -9,5 +9,4 @@ export default {
|
|||||||
data: new SlashCommandBuilder()
|
data: new SlashCommandBuilder()
|
||||||
.setName('ping')
|
.setName('ping')
|
||||||
.setDescription('Check bot\'s latency')
|
.setDescription('Check bot\'s latency')
|
||||||
.setDMPermission(false)
|
|
||||||
}
|
}
|
@ -27,7 +27,6 @@ export default {
|
|||||||
data: new SlashCommandBuilder()
|
data: new SlashCommandBuilder()
|
||||||
.setName('purge')
|
.setName('purge')
|
||||||
.setDescription('Purge the amount of messages in this channel')
|
.setDescription('Purge the amount of messages in this channel')
|
||||||
.setDMPermission(false)
|
|
||||||
.addIntegerOption((opt)=>opt
|
.addIntegerOption((opt)=>opt
|
||||||
.setName('amount')
|
.setName('amount')
|
||||||
.setDescription('Amount of messages to be obliterated')
|
.setDescription('Amount of messages to be obliterated')
|
||||||
|
@ -178,7 +178,6 @@ export default {
|
|||||||
data: new SlashCommandBuilder()
|
data: new SlashCommandBuilder()
|
||||||
.setName('rank')
|
.setName('rank')
|
||||||
.setDescription('Level system')
|
.setDescription('Level system')
|
||||||
.setDMPermission(false)
|
|
||||||
.addSubcommand((optt)=>optt
|
.addSubcommand((optt)=>optt
|
||||||
.setName('view')
|
.setName('view')
|
||||||
.setDescription('View your rank or someone else\'s rank')
|
.setDescription('View your rank or someone else\'s rank')
|
||||||
|
@ -18,7 +18,6 @@ export default {
|
|||||||
data: new SlashCommandBuilder()
|
data: new SlashCommandBuilder()
|
||||||
.setName('roleinfo')
|
.setName('roleinfo')
|
||||||
.setDescription('View information about the selected role')
|
.setDescription('View information about the selected role')
|
||||||
.setDMPermission(false)
|
|
||||||
.addRoleOption((opt)=>opt
|
.addRoleOption((opt)=>opt
|
||||||
.setName('role')
|
.setName('role')
|
||||||
.setDescription('Role name to view information')
|
.setDescription('Role name to view information')
|
||||||
|
@ -7,7 +7,6 @@ export default {
|
|||||||
data: new SlashCommandBuilder()
|
data: new SlashCommandBuilder()
|
||||||
.setName('softban')
|
.setName('softban')
|
||||||
.setDescription('Softban a member from the server')
|
.setDescription('Softban a member from the server')
|
||||||
.setDMPermission(false)
|
|
||||||
.addUserOption((opt)=>opt
|
.addUserOption((opt)=>opt
|
||||||
.setName('member')
|
.setName('member')
|
||||||
.setDescription('Which member to softban?')
|
.setDescription('Which member to softban?')
|
||||||
|
@ -71,5 +71,4 @@ export default {
|
|||||||
data: new SlashCommandBuilder()
|
data: new SlashCommandBuilder()
|
||||||
.setName('statistics')
|
.setName('statistics')
|
||||||
.setDescription('See a list of commands ordered by their usage or bot stats')
|
.setDescription('See a list of commands ordered by their usage or bot stats')
|
||||||
.setDMPermission(false)
|
|
||||||
}
|
}
|
@ -7,7 +7,6 @@ export default {
|
|||||||
data: new SlashCommandBuilder()
|
data: new SlashCommandBuilder()
|
||||||
.setName('unpunish')
|
.setName('unpunish')
|
||||||
.setDescription('Remove the active punishment from a member')
|
.setDescription('Remove the active punishment from a member')
|
||||||
.setDMPermission(false)
|
|
||||||
.addIntegerOption((opt)=>opt
|
.addIntegerOption((opt)=>opt
|
||||||
.setName('case_id')
|
.setName('case_id')
|
||||||
.setDescription('Case # of the punishment to be overwritten')
|
.setDescription('Case # of the punishment to be overwritten')
|
||||||
|
@ -7,7 +7,6 @@ export default {
|
|||||||
data: new SlashCommandBuilder()
|
data: new SlashCommandBuilder()
|
||||||
.setName('warn')
|
.setName('warn')
|
||||||
.setDescription('Warn a member')
|
.setDescription('Warn a member')
|
||||||
.setDMPermission(false)
|
|
||||||
.addUserOption((opt)=>opt
|
.addUserOption((opt)=>opt
|
||||||
.setName('member')
|
.setName('member')
|
||||||
.setDescription('Which member to warn?')
|
.setDescription('Which member to warn?')
|
||||||
|
@ -53,7 +53,6 @@ export default {
|
|||||||
data: new SlashCommandBuilder()
|
data: new SlashCommandBuilder()
|
||||||
.setName('whois')
|
.setName('whois')
|
||||||
.setDescription('View your own or someone else\'s information')
|
.setDescription('View your own or someone else\'s information')
|
||||||
.setDMPermission(false)
|
|
||||||
.addUserOption((opt)=>opt
|
.addUserOption((opt)=>opt
|
||||||
.setName('member')
|
.setName('member')
|
||||||
.setDescription('Member or user to view their information')
|
.setDescription('Member or user to view their information')
|
||||||
|
Loading…
Reference in New Issue
Block a user