mirror of
https://github.com/toast-ts/Daggerbot-TS.git
synced 2024-11-17 00:10:58 -05:00
disable commands in DMs
This commit is contained in:
parent
e6b636f9a0
commit
c81c76945a
@ -11,6 +11,7 @@ export default {
|
||||
data: new SlashCommandBuilder()
|
||||
.setName('addbannedword')
|
||||
.setDescription('Add a word to bannedWords file')
|
||||
.setDMPermission(false)
|
||||
.addStringOption((opt)=>opt
|
||||
.setName('word')
|
||||
.setDescription('What word do you want automod to ban?')
|
||||
|
@ -7,6 +7,7 @@ export default {
|
||||
data: new SlashCommandBuilder()
|
||||
.setName('ban')
|
||||
.setDescription('Ban a member from the server')
|
||||
.setDMPermission(false)
|
||||
.addUserOption((opt)=>opt
|
||||
.setName('member')
|
||||
.setDescription('Which member to ban?')
|
||||
|
@ -20,6 +20,7 @@ export default {
|
||||
data: new SlashCommandBuilder()
|
||||
.setName('bonk')
|
||||
.setDescription('Bonk a member')
|
||||
.setDMPermission(false)
|
||||
.addUserOption((opt)=>opt
|
||||
.setName('member')
|
||||
.setDescription('Which member to bonk?')
|
||||
|
@ -9,4 +9,5 @@ export default {
|
||||
data: new SlashCommandBuilder()
|
||||
.setName('botlog')
|
||||
.setDescription('Retrieves the log from host and sends it to development server.')
|
||||
.setDMPermission(false)
|
||||
}
|
@ -52,6 +52,7 @@ export default {
|
||||
data: new SlashCommandBuilder()
|
||||
.setName('case')
|
||||
.setDescription('Retrieve case information or user\'s punishment history')
|
||||
.setDMPermission(false)
|
||||
.addSubcommand((opt)=>opt
|
||||
.setName('view')
|
||||
.setDescription('View a single case.')
|
||||
|
@ -18,4 +18,5 @@ export default {
|
||||
data: new SlashCommandBuilder()
|
||||
.setName('contributors')
|
||||
.setDescription('List of people who contributed to the bot.')
|
||||
.setDMPermission(false)
|
||||
}
|
@ -57,6 +57,7 @@ export default {
|
||||
data: new SlashCommandBuilder()
|
||||
.setName('eval')
|
||||
.setDescription('Run code for debugging purposes')
|
||||
.setDMPermission(false)
|
||||
.addStringOption((opt)=>opt
|
||||
.setName('code')
|
||||
.setDescription('Execute your code')
|
||||
|
@ -24,6 +24,7 @@ export default {
|
||||
data: new SlashCommandBuilder()
|
||||
.setName('faq')
|
||||
.setDescription('List of FAQ for users')
|
||||
.setDMPermission(false)
|
||||
.addStringOption((opt)=>opt
|
||||
.setName('question')
|
||||
.setDescription('What question do you want answered?')
|
||||
|
@ -47,6 +47,7 @@ export default {
|
||||
data: new SlashCommandBuilder()
|
||||
.setName('url')
|
||||
.setDescription('View the URL for this server\'s FSMP server or update the URL')
|
||||
.setDMPermission(false)
|
||||
.addStringOption((opt)=>opt
|
||||
.setName('address')
|
||||
.setDescription('Insert a \'dedicated-server-stats\' url'))
|
||||
|
@ -7,6 +7,7 @@ export default {
|
||||
data: new SlashCommandBuilder()
|
||||
.setName('kick')
|
||||
.setDescription('Boot a member from the server')
|
||||
.setDMPermission(false)
|
||||
.addUserOption((opt)=>opt
|
||||
.setName('member')
|
||||
.setDescription('Which member to kick?')
|
||||
|
@ -258,6 +258,7 @@ export default {
|
||||
data: new SlashCommandBuilder()
|
||||
.setName('mp')
|
||||
.setDescription('Display MP status and other things')
|
||||
.setDMPermission(false)
|
||||
.addSubcommand((opt)=>opt
|
||||
.setName('status')
|
||||
.setDescription('Check server status and details'))
|
||||
|
@ -7,6 +7,7 @@ export default {
|
||||
data: new SlashCommandBuilder()
|
||||
.setName('mute')
|
||||
.setDescription('Mute a member')
|
||||
.setDMPermission(false)
|
||||
.addUserOption((opt)=>opt
|
||||
.setName('member')
|
||||
.setDescription('Which member to mute?')
|
||||
|
@ -9,4 +9,5 @@ export default {
|
||||
data: new SlashCommandBuilder()
|
||||
.setName('ping')
|
||||
.setDescription('Check bot\'s latency')
|
||||
.setDMPermission(false)
|
||||
}
|
@ -27,6 +27,7 @@ export default {
|
||||
data: new SlashCommandBuilder()
|
||||
.setName('purge')
|
||||
.setDescription('Purge the amount of messages in this channel')
|
||||
.setDMPermission(false)
|
||||
.addIntegerOption((opt)=>opt
|
||||
.setName('amount')
|
||||
.setDescription('Amount of messages to be obliterated')
|
||||
|
@ -177,6 +177,7 @@ export default {
|
||||
data: new SlashCommandBuilder()
|
||||
.setName('rank')
|
||||
.setDescription('Level system')
|
||||
.setDMPermission(false)
|
||||
.addSubcommand((optt)=>optt
|
||||
.setName('view')
|
||||
.setDescription('View your rank or someone else\'s rank')
|
||||
|
@ -8,4 +8,5 @@ export default {
|
||||
data: new SlashCommandBuilder()
|
||||
.setName('restart')
|
||||
.setDescription('Restart the bot for technical reasons')
|
||||
.setDMPermission(false)
|
||||
}
|
@ -18,6 +18,7 @@ export default {
|
||||
data: new SlashCommandBuilder()
|
||||
.setName('roleinfo')
|
||||
.setDescription('View information about the selected role')
|
||||
.setDMPermission(false)
|
||||
.addRoleOption((opt)=>opt
|
||||
.setName('role')
|
||||
.setDescription('Role name to view information')
|
||||
|
@ -8,4 +8,5 @@ export default {
|
||||
data: new SlashCommandBuilder()
|
||||
.setName('smell')
|
||||
.setDescription('Who smells?')
|
||||
.setDMPermission(false)
|
||||
}
|
@ -7,6 +7,7 @@ export default {
|
||||
data: new SlashCommandBuilder()
|
||||
.setName('softban')
|
||||
.setDescription('Softban a member from the server')
|
||||
.setDMPermission(false)
|
||||
.addUserOption((opt)=>opt
|
||||
.setName('member')
|
||||
.setDescription('Which member to softban?')
|
||||
|
@ -76,6 +76,7 @@ export default {
|
||||
data: new SlashCommandBuilder()
|
||||
.setName('statistics')
|
||||
.setDescription('See a list of commands ordered by their usage or bot stats')
|
||||
.setDMPermission(false)
|
||||
.addSubcommand((opt)=>opt
|
||||
.setName('commands')
|
||||
.setDescription('View command usage stats'))
|
||||
|
@ -7,6 +7,7 @@ export default {
|
||||
data: new SlashCommandBuilder()
|
||||
.setName('unpunish')
|
||||
.setDescription('Remove the active punishment from a member')
|
||||
.setDMPermission(false)
|
||||
.addIntegerOption((opt)=>opt
|
||||
.setName('case_id')
|
||||
.setDescription('Case # of the punishment to be overwritten')
|
||||
|
@ -20,4 +20,5 @@ export default {
|
||||
data: new SlashCommandBuilder()
|
||||
.setName('update')
|
||||
.setDescription('Pull from repository and restart')
|
||||
.setDMPermission(false)
|
||||
}
|
@ -7,6 +7,7 @@ export default {
|
||||
data: new SlashCommandBuilder()
|
||||
.setName('warn')
|
||||
.setDescription('Warn a member')
|
||||
.setDMPermission(false)
|
||||
.addUserOption((opt)=>opt
|
||||
.setName('member')
|
||||
.setDescription('Which member to warn?')
|
||||
|
@ -53,6 +53,7 @@ export default {
|
||||
data: new SlashCommandBuilder()
|
||||
.setName('whois')
|
||||
.setDescription('View your own or someone else\'s information')
|
||||
.setDMPermission(false)
|
||||
.addUserOption((opt)=>opt
|
||||
.setName('member')
|
||||
.setDescription('Member or user to view their information')
|
||||
|
Loading…
Reference in New Issue
Block a user