Skip to content
Advertisement

Tag: discord

Discord Python Bot Multiple Value in embed field

So i have a discord bot (using python) that connect to a sqlite database, and i want to show the data using embed. The data is containing my daily anime schedule. Here’s the code : The problem is this Discord Embed There are 2 ‘Sunday’ which is not what i wanted. What i want is (example for Sunday), the ‘Value’

how to get a apis output in python without json

here is api i am trying https://api.apithis.net/host2ip.php?hostname=google.com as you can see unlike json apis it dose not have “” that you can copy as response.json here is my current code if anyone can fix would help alot as im not sure how to use apis without json output thanks Answer Firstly the response you are getting is not JSON. If

Discord.py editing channel by word that is in the name

I am making statistics bot, and i have a problem, with voice channel containing member count. I want to make bot update name of that channel, on_member_join, on_member_remove and when user use command refresh but i tried many times at different ways, and it stil don’t work, i want to make him edit channel that contains in name “Members:” but

Discord.py get uses and author from an invite

I would like to get all the invites from a discord server. I get all the invite but I want to get the author and the uses from it. Everything works just fine except the guild.uses. Tried to embed the things from the discord API. “””From discord api https://discordpy.readthedocs.io/en/latest/api.html Attribute & Method max_age abc.GuildChannel.invites(), Guild.invites() max_uses abc.GuildChannel.invites(), Guild.invites() created_at abc.GuildChannel.invites(),

cannot instal discord module properly

while installing the module, i get this error and to double check when i try running with this code- the error was shown to me was this pls help out , so i need to spam so that my question get subbmitted and i dont get a error regarding that your post is mostly code , please add some more

on_member_join event discord.py

I maked an auto roles giving system with on_member_join event, it has worked until now, now it’s not sending messages to members, and not giving roles. Please help: Answer It sounds like you need intents. You’ll need to add this code above your definition of bot: Now, add the intents=intents parameter to your bot initialization underneath the intents bit: Make

Advertisement