This is the code I have and I was wondering how do I make it so that the bot embeds the requirements. Answer Here:
Tag: discord
How to make a bot join a channel and respond in chat discord.py
I just started learning to code very recently in order to make a discord bot in python. I have used both pieces of code separately and they have worked, but when trying to use them together only the messages work, and the bot will not join the voice channel. No errors come up when I type the join command. However,
Make Discord BOT get random image from a ftp server (Filezilla)
I’m just gonna say it right away that I have no experience whatsoever in python. I’m trying to make a bot for a private Discord server that posts a random image (.jpg) from a ftp server (root directory) after typing ‘$gimme’. #file names are random jibberish I’ve searched for hours to find a solution but I always get stuck at
Discord.py Stuck Trying to Loop Through Logs and Send to Server
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 printing the output is easy and works just fine. My problem is trying to incorporate it into discord. It seems
I would like to make a discord bot that sends a message when a member goes online but I can’t seem to make it work ? (python)
I would like to make it so when a member goes online my both will send a message in the server welcoming the member but I cannot find a way to do so if I could get the name of the user too it would help thank you. Here is my code that is not working Answer Here’s a snippet
Python~JSON error → json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
I was working on my discord bot and found a api(named numapi) which i want to use, i made a prototype in my pc which was ↓↓↓↓ and it worked fine. But when i copied the same thing in my discord bot then it was not working. The code and error are as follows :- code error pls help me
Check if A role has perms – Discord.py
Here Is a Good question. I want to check all roles in a server for admin, then create a new channel and allow only those set roles to have access. I dont want to use @commands.has_guild_permissions(). Answer If by roles with admin you mean any role that has the Administrator permission on (not just the server’s owner), then every time
Discord.py WELCOMER – How to make a custom image for welcome messages
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: Answer You need to use an image processing/manipulation library called pillow aka PIL. You’d have your default/template image, as you provided (without the user specific text). You’d then find the position
get only information of a specific guild
Hey so this code works completely fine but my problem is that it gets info of all the servers that the bot is in. This code is for logs so I want it to have different logs for each server. For example, I don’t want to show a server that I’m not in if I changed avatar or anything. Any
In which way can I make an Auto-React feature for a discord bot that I’m writing in the discord.py API?
Basically, I’d like my discord bot to react with an emote to messages that have keywords in them. I tried tutorials, using if-statements, and both of those didn’t work. Answer This is a simple function, if you want it to use a random emoji from the server, you would have to get the emoji id, but you can do this.