Remove command logs
This commit is contained in:
parent
6e53375921
commit
dc5734025f
@ -380,7 +380,7 @@ addSubcommands({
|
|||||||
openMacros(interaction.guild.id).put(name, dice),
|
openMacros(interaction.guild.id).put(name, dice),
|
||||||
reloadMacros(interaction.guild.id)
|
reloadMacros(interaction.guild.id)
|
||||||
])
|
])
|
||||||
interaction.followUp(`Macro added! Try \`/${name}\`! You might need to switch to a different server or back or reopen Discord in order for it to recognize the new command.`)
|
interaction.followUp(`Macro added! Try \`/${name}\`! You might need to switch to a different server and back or reopen Discord in order for it to recognize the new command.`)
|
||||||
},
|
},
|
||||||
remove: async interaction => {
|
remove: async interaction => {
|
||||||
let name = interaction.options.get('name').value.toLowerCase()
|
let name = interaction.options.get('name').value.toLowerCase()
|
||||||
@ -460,8 +460,6 @@ const handleCommand = async interaction => {
|
|||||||
if(options) {
|
if(options) {
|
||||||
let optionDice = parseOptionRoll(options.value)
|
let optionDice = parseOptionRoll(options.value)
|
||||||
|
|
||||||
console.log(optionDice)
|
|
||||||
|
|
||||||
for(let [ key, value ] of Object.entries(optionDice)) {
|
for(let [ key, value ] of Object.entries(optionDice)) {
|
||||||
if(value)
|
if(value)
|
||||||
dice[key] = value
|
dice[key] = value
|
||||||
|
Loading…
x
Reference in New Issue
Block a user