Skip to content Skip to sidebar Skip to footer
Showing posts with the label Discord

Pygame With Discord Bot

import discord import random import pygame import time client = discord.Client() white = (255,255,… Read more Pygame With Discord Bot

Discord.py How Can I Make A Bot Delete Messages After A Specific Amount Of Time

I have a discord bot that sends images to users when they use the !img command, I don't want pe… Read more Discord.py How Can I Make A Bot Delete Messages After A Specific Amount Of Time

Finding A User By Discord Discrim Via Python

Once again, I'm into Discord bot coding. This time, I'm trying to make a way to find a user… Read more Finding A User By Discord Discrim Via Python

How To Get A Mentioned User's Avatar Url With Discord.py?

How can I get a mentioned user's avatar? I can get a mentioned user's ID, but I can't f… Read more How To Get A Mentioned User's Avatar Url With Discord.py?

Recognizing A Game That Someone Is Playing Without Chatting(discord Bot Python)

(discord bot python) The code is that if someone chats anything, if the person is playing Overwatch… Read more Recognizing A Game That Someone Is Playing Without Chatting(discord Bot Python)

My Discord.py Bot With Chat-filter Event Sends 2 Or More Messages Instead Of 1

Not so long ago added in my discord bot chat-filter ,which delete messages which i dont want to see… Read more My Discord.py Bot With Chat-filter Event Sends 2 Or More Messages Instead Of 1

Discord.py: Nameerror: Name 'intents' Is Not Defined

I'm trying to use intents in my bot but when running the following code: import discord from di… Read more Discord.py: Nameerror: Name 'intents' Is Not Defined

Discord.py Overwrite In Create_text_channel Permissions

overwrites = { guild.default_role: discord.PermissionOverwrite(read_messages=False), guild.… Read more Discord.py Overwrite In Create_text_channel Permissions

Nameerror: 'discord' Is Not Defined?

This is for a discord bot I am making, and I have tried to set the bot's status. I've found… Read more Nameerror: 'discord' Is Not Defined?

Ban A User If They Leave The Server When They Have A Specific Role Discord.py

I want make it so if a user leaves the server while they have the Muted or [Banned] role they get p… Read more Ban A User If They Leave The Server When They Have A Specific Role Discord.py

Get User Id From Mention In Discord.py

When I try to run the command $getUserId @user using the below code, it works as intended but gives… Read more Get User Id From Mention In Discord.py

My On_member_join Event Is Not Working, I Tried Intents But It Gives This Error

st recent call last): File 'randomgg.py', line 1271, in \u003cmodule\u003e client.run(token… Read more My On_member_join Event Is Not Working, I Tried Intents But It Gives This Error

How Do You Check If A Specific User Reacts To A Specific Message [discord.py]

I've looked at similar questions but none of the answers worked for me. I'm working on a bo… Read more How Do You Check If A Specific User Reacts To A Specific Message [discord.py]

Delete Certain Message Bot Sends

Have a scramble game that I want to delete the original message if it was solved or not solved. Tri… Read more Delete Certain Message Bot Sends

Mentioning Users And Self With Discord.py

I'm still really new to coding and the only way I can get this command to work is by doing what… Read more Mentioning Users And Self With Discord.py

Remove 'command Not Found' Error Discord.py

In a discord.py rewrite bot, if someone types the bots prefix and then any text after it, if the te… Read more Remove 'command Not Found' Error Discord.py

Python 3.6 Discord Bot Cooldown Message

so I have this command which allows the user to change the game and it works perfectly but I put a … Read more Python 3.6 Discord Bot Cooldown Message

Deleting A Bot's Message In Discord.py

I have already made all of the proper imports and I have tried looking for answers from other posts… Read more Deleting A Bot's Message In Discord.py

Discord Bot Send Embed Message To Another Channel

I cant figure out how to send a embedded message on a bot from one channel to another although I ca… Read more Discord Bot Send Embed Message To Another Channel

Better Way To Write Recursive Random Variables

I know this is really bad, but it works and it was the only way with my current knowledge to comple… Read more Better Way To Write Recursive Random Variables