Category : discord.py-rewrite

When a user is typing, how to make the bot to also start the typing event in a certain channel and stop when the user who was typing stopped. ctx.trigger_typing/ctx.typing cannot be used since we need to track the user if he/she is typing. So how to do that? Source: Python..

Read more

I’m trying to scrape the match details on "flashscore.com", for example "https://www.flashscore.com/match/hEyZ9RHu/#match-summary", and then reuse them in an embed on discord. Basically all of this is being done through a discord bot, but that doesn’t really matter right now. I’m trying to get one of the person’s full name, but it doesn’t seem to be ..

Read more

Sorry about this unprofessional question but I’m kinda new to sqlite but I was wondering if there’s any way I can open two files in same python command db = sqlite3.connect(‘./cogs/database/users.sqlite’) when I open this in my command it doesn’t allow me to do same thing in the same command to open another file so ..

Read more

I’m using a json file in order to store the star-board channels for the guilds. Here’s my code: @client.event async def on_raw_reaction_add(payload): star = await get_star_channels() if str(payload.message.guild.id) not in star: return starchannel = client.get_channel(star[str(payload.message.guild.id)]) if payload.emoji == ‘⭐’: if str(payload.message.guild.id) not in star: return if not payload.member.guild_permissions.manage_messages: await payload.message.channel.send("You don’t have the permissions to ..

Read more