bot.on('message', message => { message.channel.send('spam'); if (message.content === 'stop spam') { return message.channel.send('s 浏览0提问于2018-02-05得票数0 回答已采纳 1回答 (discord js antispam)如何创建白名单通道命令?
–I am a bot. This action was performed automatically! Please report any issues onDiscordorReddit Assignee: Unassigned Reporter: Oskari Puhto Votes: 0Vote for this issue Watchers: 0Start watching this issue Created: 18/Dec/20 9:22 PM ...
# TODO: If sharding is desired, please account for that + its shard ID. # See https://discord.bots.gg/docs/endpoints in the future. send_statistics_request bot.bot_user.id, { guildCount: bot.servers.length guildCount: count }.to_json @server_count = count end def send_statistics_req...