aboutsummaryrefslogtreecommitdiff
path: root/commands/util/emote.js
diff options
context:
space:
mode:
authorame <[email protected]>2023-10-31 22:33:02 -0500
committerame <[email protected]>2023-10-31 22:33:02 -0500
commit6e90cde57af865e585cf06d297eadb4424ebcdbb (patch)
treeb4bdfeec2cefb83c5f61027cbf0ebb890122d391 /commands/util/emote.js
parent53b4e132d593ac6a0d7cad6f0c988a97b68b8d2d (diff)
subcommands
Diffstat (limited to 'commands/util/emote.js')
-rw-r--r--commands/util/emote.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/util/emote.js b/commands/util/emote.js
index c88f0b4..a6f4430 100644
--- a/commands/util/emote.js
+++ b/commands/util/emote.js
@@ -20,7 +20,7 @@ module.exports = {
{type:"user",name:"user",desc:"user to emote to (may be optional)",required:false,autocomplete:false}],
async s_main (client,Discord,interaction){
let emote = interaction.options.getString("emote");
- if(Object.keys(config.avaliable_multi).includes(emote)||Object.keys(config.avaliable_solo).includes(emote))
+ if(Object.keys(config.avaliable_multi.value).includes(emote)||Object.keys(config.avaliable_solo.value).includes(emote))
this.exec(client,{message:interaction,emote:emote,mentioned:interaction.options.getUser("user")})
else
interaction.reply({content:"invalid emote!", ephemeral: true})