Skip to content Skip to sidebar Skip to footer

Mass DM Bot Was Working Fine And Now It Wont Send Messages

i coded a MassDM bot with a guy called Diggy (from this community) few months ago, for a guild that I and some friends run on BlackDesert Online. It was working just fine till Octo

Solution 1:

I'm not sure but your problem is probably because of Intents. In the new version of discord.py(1.5.x), there're some updates about Intents. Intents are similar to permissions, you have to define it to get channels, members and some events etc. You have to define it before defining the bot = discord.Bot(prefix='').

import discord

intents = discord.Intents().all()
bot = discord.Bot(prefix='', intents=intents)

If you want to get more information about Intents, you can look at the API References.


Post a Comment for "Mass DM Bot Was Working Fine And Now It Wont Send Messages"