channel.send('[ERROR] Please enter a user to ban, this can be in the form of a mention or an ID.') if(!user) return message.channel.send(`[ERROR] ${args[0]} is not a valid user, please enter a user to ban, this can be in the form of a mention or ID.`) if(!reason) ...
if(!bannedMember) return message.channel.send("That's not a valid ID") } //Check if the user is not banned try { await message.guild.fetchBan(args[0]) } catch(e){ message.channel.send('This user is not banned.'); return; } let reason = args.slice(1).join(" ") if(!reason...
reason(reason); // set the reason for the ban in the audit logs and ban log action.queue(v -> { // Edit the thinking message with our response on success event.getHook().editOriginal("**" + target.getAsTag() + "** was banned by **" + event.getUser().getAsTag() + "**...
reason(reason); // set the reason for the ban in the audit logs and ban log action.queue(v -> { // Edit the thinking message with our response on success event.getHook().editOriginal("**" + target.getAsTag() + "** was banned by **" + event.getUser().getAsTag() + "**...
我的ID被koth外服ban了,上面显示解ban要去discord,然后ws***(这串数字记不得了),这个ws***是啥意思啊?是discord的房间号吗?还有我估计是因为玩了国服然后存档有问题被ban,能解ban吗,大佬快来救我。。 送TA礼物 来自Android客户端1楼2017-08-31 23:58回复 汪汪汪涛w...
.htaccess文件(或者”分布式配置文件”)提供了针对目录改变配置的方法, 即,在一个特定的文档目录中放置...
you need to understand two things. First, the Discord app used your account ID to ban you. Your account ID is what you used to log in to Discord before getting banned. Second, the Discord desktop client also used your IP address to further make it difficult for you to evade the ban....
但是有一个问题:如果我使用async def ban(ctx, member: discord.Member, *, reason):来使用“角色”属性,那么它将不能禁止那些不在服务器上的人。如果我使用async def ban(ctx, member: discord.User, *, reason):,我将不能使用“角色”属性,因为它不是一个属性。我为什么要这么做?我正在尝试让服务器版主...
#bans a user with a reason @client.command() @commands.has_any_role("Keyblade Master","Foretellers") async def ban (ctx, member:discord.User=None, reason =None): if member == None or member == ctx.message.author: await ctx.channel.send("You cannot ban yourself") return if reason...
ban Ban a user. ban <user> [reason] [time] clear-warning Remove warnings from a user. clear-warning <user> [warning number] clear Clear a certain amount of messages. clear <Number> [member] deafen Deafen a user. deafen <user> delrole Delete a role from the server. delrole <role> ...