I am trying to create a simple discord bot that parses a log file that is constantly being written to and sending the new lines to a discord channel I have on my server name logs. Parsing the file and …
I am trying to create a simple discord bot that parses a log file that is constantly being written to and sending the new lines to a discord channel I have on my server name logs. Parsing the file and …
I’d like to add the “custom” image for new discord users in my server. Just like this: Click here for the image. This is what I have for now: @client.event async def on_member_join(member): …
Hey so this code works completely fine but my problem is that it gets info of all the servers that the bot is in. @commands.Cog.listener() async def on_user_update(self, before, after): logs = …
I made a guess the character game in discord bot, (see the code below). I want to add 30 second timeout for a player to response, but I totally dont know what to do, any help? @client.command() async …
i want to count members in discord but how using async await message.channel.send(f”””# of Members: {id.member_count}”””) i try @client.event async def on_message(…
I have a command that is supposed to get the price of a given cryptocurrency but it’s not working. Heres the code: @commands.command() async def crypto(self, ctx, cc = None): try: …
I’m trying to write a Discord bot in discord.py that just responds to commands, like when you type =!firewall it says Hello! Here’s my code: import discord from discord.ext import commands TOKEN = (”…
Here’s the code import discord import random from discord.ext import commands, tasks from discord.utils import get @client.command() async def play(ctx): red_role = discord.utils.get(ctx….
I’m working on a bot for discord that tracks information related to a game. I would like staff members to alter the data of regular players with a bot command. Is there a way to grab the mention out …
I have a discord bot that I’m using to learn how to use the API and to practise my python knowledge. I’m trying to create a system that randomly chooses a status and applies it then waits a short time,…