Skip to content

Tag: discord

Bot Mentions Discord.py

So I want my bot to respond to anyone who @mentions it. It does work as it should, but the only problem it’ll respond to @everyone and @here pings. It’s probably simple and I am overthinking it but I just want to know if there is any way to make the bot respond to messages it’s actually ment…

Nextcord Slash Commands

I’ve heard that nextcord has now slash commands! That’s great, and this is why I want to add them in my bot. I’ve already watched YouTube tutorials, but, for some reason, it doesn’t work. This is my main.py file EDIT: Idk if it changes something but I use repl.it Answer I tried your co…

discord.py: too big variable?

I’m very new to python and programming in general, and I’m looking to make a discord bot that has a lot of hand-written chat lines to randomly pick from and send back to the user. Making a really huge variable full of a list of sentences seems like a bad idea. Is there a way that I can store the

discord.py avatar command bringing up error

I am running an avatar command which worked before, but every time I try to run it now it gives me the error : I feel I am doing something dumb, but what is going wrong? Here is the code: Thanks in advance for the help. Answer If you’ve updated your discord.py then avatar_url got replaced with avatar.ur…