diff options
| author | 8cy <[email protected]> | 2020-04-09 05:27:42 -0700 |
|---|---|---|
| committer | 8cy <[email protected]> | 2020-04-09 05:27:42 -0700 |
| commit | 47b508bb1e061762ccedb490f553cc356bc9d382 (patch) | |
| tree | d30019443ca39c34ebe48ebf459b64d6747d65ee | |
| parent | big changes, v1.5.0 (diff) | |
| download | s5nical-47b508bb1e061762ccedb490f553cc356bc9d382.tar.xz s5nical-47b508bb1e061762ccedb490f553cc356bc9d382.zip | |
voice check stuff, v1.5.1
| -rw-r--r-- | utils/bot_voice_check.js | 2 | ||||
| -rw-r--r-- | utils/user_voice_check.js | 7 |
2 files changed, 8 insertions, 1 deletions
diff --git a/utils/bot_voice_check.js b/utils/bot_voice_check.js index 4bef372..e68eab9 100644 --- a/utils/bot_voice_check.js +++ b/utils/bot_voice_check.js @@ -1,5 +1,5 @@ module.exports = { - name: 'voice_check', + name: 'bot_voice_check', description: '', async execute(msg, args, bot) { if (msg.guild.voiceConnection) return true; diff --git a/utils/user_voice_check.js b/utils/user_voice_check.js new file mode 100644 index 0000000..effbd2d --- /dev/null +++ b/utils/user_voice_check.js @@ -0,0 +1,7 @@ +module.exports = { + name: 'user_voice_check', + description: '', + async execute(msg, args, bot) { + if (msg.member.voiceChannel) return true; + } +};
\ No newline at end of file |