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

How Do I Make Mentioning A Member Optional Within A Command?

I've created a code that sends the gif of a hug on command and specifies who it's to, howev… Read more How Do I Make Mentioning A Member Optional Within A Command?

How To Make A Leaderboard Command Discord.py?

I have looked all over the web, and couldn't find an answer. I also asked my friend but he didn… Read more How To Make A Leaderboard Command Discord.py?

Prefixed And Non Prefix Commands Are Not Working Together On Python Discord Bot

import asyncio import discord from discord.ext import commands from discord.ext.commands import Bot… Read more Prefixed And Non Prefix Commands Are Not Working Together On Python Discord Bot

Deleting User Messages In Discord.py

Is there any way to delete a message sent by anyone other than the bot itself, the documentation se… Read more Deleting User Messages In Discord.py

Is There Anyway To Make Praw Faster For Discord.py

This works and I have no issue with it. my bot is about 1100 lines of code so not that much. I have… Read more Is There Anyway To Make Praw Faster For Discord.py

How To Allow Only One Person At A Time To Use Discord Bot

So I have this line of code: async def on_message(message): if message.content == '!test'… Read more How To Allow Only One Person At A Time To Use Discord Bot

Discord.py (rewrite) How To Get Cooldowns Working With On_message Event?

I've been trying to convert my commands to on_message events as in this case, it saves up space… Read more Discord.py (rewrite) How To Get Cooldowns Working With On_message Event?

The Channel Provided Must Be A Voice Channel. Error With Move_member

import discord from discord.ext import commands from discord.ext.commands import Bot import asyncio… Read more The Channel Provided Must Be A Voice Channel. Error With Move_member

I Installed A Module Called Discord And When Using "import Discord" I Get The Error: "modulenotfounderror: No Module Named 'discord'"

The module 'discord' I installed in the command prompt which I ran as administrator can'… Read more I Installed A Module Called Discord And When Using "import Discord" I Get The Error: "modulenotfounderror: No Module Named 'discord'"

How To Make A Auto Reply Event For Dm's

I have this Code but I cant get it run with the Command so I can turn it on and off: auto_dm = '… Read more How To Make A Auto Reply Event For Dm's

Kick Command Is Giving Errors

My kick command is below: @bot.command() async def kick(ctx, member: discord.Member, *,reason… Read more Kick Command Is Giving Errors

Getting 'nonetype' Object Has No Attribute 'send'

getting the 'NoneType' object has no attribute 'send' what should I do?this error m… Read more Getting 'nonetype' Object Has No Attribute 'send'

How Do I Send A Message To A Specific Channel? Discord/python

How do I send a message to a specific channel? Why am I getting this Error ? My ChannelID is right … Read more How Do I Send A Message To A Specific Channel? Discord/python

Is There Any Way To Have A Discord Bot Join A Server With Accept_invite Or Anything Like That?

Note: I'm using discord.py 0.16.12 I am wondering if there's any way to have a bot join a s… Read more Is There Any Way To Have A Discord Bot Join A Server With Accept_invite Or Anything Like That?

How To How To Convert Username To Discord Id?

I have a simple questions about discord. I am trying to create an economy system, and it works well… Read more How To How To Convert Username To Discord Id?

How Can I Properly Parse For A Tagged User In My Discord Bot?

I am adding profile cards onto my Discord bot, but I've come across one issue. When someone typ… Read more How Can I Properly Parse For A Tagged User In My Discord Bot?

Get The User Who Triggered The On_raw_reaction_remove(payload)

I am using async def on_raw_reaction_remove(payload) to track when a user removes a reaction.. How … Read more Get The User Who Triggered The On_raw_reaction_remove(payload)

How Can I Automatically Split A List Up Based On A Given Requirement?

On Discord, you can only have messages of character length 2000 or under. I am trying to append the… Read more How Can I Automatically Split A List Up Based On A Given Requirement?

Cooldown Mapping | Discord.py

I am using on_message to scan the code for specific keywords so that the bot can respond accordingl… Read more Cooldown Mapping | Discord.py

Discord.py How To Add Mute Command

I'm making a discord bot and I really want to make a mute command to mute toxic users. This is … Read more Discord.py How To Add Mute Command