1
0
mirror of https://github.com/toast-ts/Daggerbot-TS.git synced 2024-11-17 16:30:58 -05:00

Remove unneeded field from builder as bot isn't global.

This commit is contained in:
AnxietyisReal 2023-01-09 23:05:14 +11:00
parent edc08e4582
commit 37e68fc4d3
20 changed files with 0 additions and 20 deletions

View File

@ -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?')

View File

@ -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.'))

View File

@ -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?')

View File

@ -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.')

View File

@ -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)
} }

View File

@ -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')

View File

@ -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?')

View File

@ -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'))

View File

@ -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?')

View File

@ -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'))

View File

@ -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?')

View File

@ -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)
} }

View File

@ -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')

View File

@ -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')

View File

@ -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')

View File

@ -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?')

View File

@ -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)
} }

View File

@ -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')

View File

@ -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?')

View File

@ -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')