How to make a bot that automatically reacts to a person with emoji reacts if they say something specific not a normal discord but a selfbot (I know it’s against TOS) Source: Python..
So I finally managed to almost get my discord bot working. The problem is, while only having the bot’s guilds (bot.guilds), I am too stupid to access the members of it. Here is some pseudo-code: (I’m using datetime, asyncio and other functions in the actual bot) def check_for_bds(): any_bds = True # done by a ..
I have this code from somewhere else and now I need help. It’s a code for a music bot (youtube_dl, discord.py) and I have two problems. My first problem is in line 25, where I don’t know, whether I am supposed to type in a ipv4 and if so what ipv4 or if I can ..
why is this command not working? like what should i do? @client.command(aliases = ["t"]) async def translate(ctx, lang_to, *,args): lang_to = lang_to.lower() if lang_to not in googletrans.LANGUAGES and lang_to not in googletrans.LANGCODES: await ctx.send("Invalid language to translate to") text = ‘ ‘.join(args) translator = googletrans.Translator() text_translated = translator.translate(text, dest=lang_to).text await ctx.send(text_translated) Source: Python..
i have a discord Bot, and the status of the discord bot is "Watching Members". (Screenshot: http://prnt.sc/12kkl2c) [schaut = watching] But i want a member counter in the status, like "Watching Members: 100". My Code: while True: await bot.change_presence(status=discord.Status.online, activity=discord.Activity(type=discord.ActivityType.watching, name="Members:")) await asyncio.sleep(10) await bot.change_presence(status=discord.Status.online, activity=discord.Activity(type=discord.ActivityType.watching, name="Members:")) await asyncio.sleep(10)“` What do i need to change ..
I’ve designed a system to loop through all the channels and check to see if the last few messages are the same as they were at the previous check, but that’s slow and unnecessary. If there’s any way to do it through a function, or a simpler, faster way, let me know. Thanks! Source: Python ..
I am making a discord bot just for fun with python. I try to move people. Let me explain the Duck come from "A" have to go to "1" then "2" then come back to "A" . Do someone have a clue how this works?await member.move_to(channel, *, reason=None) I don’t know how to save the ..
I am new to python and discord bots, So I am sorry if this is a stupid question or my way of handling it is not right. My goal was to make a bot that can open an instant google meet and send me the link on discord. I was able to achieve the first ..
My bot uses discord.py, is there a way to code it to allow it to automatically follow an announcement channel for other servers to your server through a command? Source: Python..
I was trying to login a website with python requests module. But I can not find "Form Data" at the network tab. But there is "Request Payload" section as image. So my question is how can I login this website with requests module or other modules? The website which I try to login is "https://www.bartleby.com" ..