When I ban a user using the command, it blocks him/her, so when I unban a user, I want to send to him/her an embed telling him/her "you banned has been removed"
I want my program to welcome someone as soon as they join a discord server (discord.py), and that part works fine. However, to get the guild name, my program se
The code in question below works flawlesly, it creates a channel and gives it a description. But i can't figure out how to proceed from here and have it send a
When i run this code (discord.py), i do not get the full lyrics: @commands.command() async def lyrics(self, ctx, arg1, arg2): song = genius.search_song(arg2
I've been trying to make a bot using discord.py add a reaction to a message using discord.py after reading this (which is not what I wanted because I am not usi
I know that client.run("TOKEN") blocks off any code following it...I'm trying to have my program print a message (in my case when a Nike product restocks), and
@bot.command(aliases=['av']) async def avatar(ctx, *, avamember : discord.Member = None): userAvatarUrl = avamember.avatar_url await ctx.send(userAvata
I am creating a discord bot that plays music. It successfully joins a channel but then returns an error when searching for music. This is my code: @client.comma
What I'm trying to do here is get the url or raw file of a slash command attachment. Being the inexperienced person that I am, I've ran into some issues. On dis
How can I mention multiple random users from a role member by using a command in a discord channel. @bot.command(pass_context=True) async def mention(ctx): #
Im using interactions.py and I cant figure out how to respond with an image await ctx.send(files="86.png")
I'm trying to make a command in my discord.py bot that send the image or the video attacched to a post in reddit. But, when a post is with an Image, all works f
So I am trying to create a text channel in a specific category. It worked but suddenly it's not. This is my Code: import discord from discord.ext import command
I coded on_eaw_reaction_add and it works just fine @commands.Cog.listener() async def on_raw_reaction_add(self, payload): msgID = 754487460142
I am building a Discord bot in Python and would like to receive HTTP requests from Twitch.tv's API (See Webhooks Guide & Webhooks Reference) (To subscribe t
@commands.command(name='8ball', description='Let the 8 Ball Predict!\n') async def _8ball(self, ctx, question): responses = ['As I see it, yes.
I have recently been following this tutorial to get myself started with Discord's API. Unfortunately, when I got the part about printing all the users in the gu
I am trying to make a discord.py command that accepts a string as a positional argument. How do I accept a string from a Discord message (and, by extension, boo
I am trying to make a discord.py command that accepts a string as a positional argument. How do I accept a string from a Discord message (and, by extension, boo
I'm working on a Discord bot and it works to some degree but it keeps crashing every couple minutes. It gives me an error like Task was detroyed but it's pendi