mirror of
https://github.com/ReVanced/revanced-bots.git
synced 2026-01-11 13:56:15 +00:00
fix(bot-discord): fix reserved word
This commit is contained in:
@@ -3,7 +3,7 @@ import { Events } from 'discord.js';
|
||||
export default {
|
||||
name: Events.MessageCreate,
|
||||
once: false,
|
||||
execute(helper, config, msg) {
|
||||
async execute(helper, config, msg) {
|
||||
if (!msg.guild || msg.system || msg.webhookId || msg.author.bot) return;
|
||||
if (msg.content.startsWith('?')) {
|
||||
const [cmd, args] = msg.content.replace('?', '').split(/\s/g);
|
||||
|
||||
Reference in New Issue
Block a user