#The bot on my local pc runs but on vps it gives erorr?
1 messages · Page 1 of 1 (latest)
wtf i unstailled it and reinstalled it and worked
wtf fr
i have been in this eror for 18 hours straight
pycord isn't related to us
im using py-cord i was just saying
Im saying you shouldnt need to add pycord as a requirement, its not a library related to us
plus you shouldnt add other libraries like discord.py because that can interfere too
oh okay bor sorry and thanks for help
@tardy raptor what should i import bec i have
import discord
from discord.ext import commands, tasks
What
It is correct
There's nothing wrong with your Imports, otherwise you'd get an error
when im using normal commands not slash the bot are not responding to me
Do you have proper intents?..
it should 
intents = discord.Intents.default()
intents.messages = True
or what
the ones from discord dev are all on
.intents
Pycord Docs - Intents
Discord API Docs - Gateway Intents
import discord
from discord.ext import commands
# Get specific intents for fine control
intents = discord.Intents()
intents.emojis = True
intents.guilds = True
intents.messages = True # Required for prefix commands!
...
# Get all non-priveliged intents; this excludes presences, members and message_content
intents = discord.Intents.default()
# Set priveliged intents: these must be enabled on dev portal
intents.members = True
intents.presences = True
intents.message_content = True # Required for prefix commands >= 2.0.0b5
# Get all intents; all intents must be enabled on dev portal.
intents = discord.Intents.all()
# Apply intents when creating your bot
bot = commands.bot(prefix="?", intents=intents)
Looks like it's message_content
forreall your are a fk life saver brooooooo
messages are part of default intents
only presence, members and message content aren't part of default
use intents = discord.Intents.alll(), easier
unnecessary and not recommended
why it is not recommended ?
by me*
because its literally pointless
intents should be requested minimally, especially because you need to enable every one in the dev portal else it wont work im p sure
since he already enable everything on the dev portal so
and its not pointless since he is their because of missing intents lmao
better to just enable all than have to check each time if you need one or not
he doesnt need presences, nor members
you dont know that
read up
Toothy is right. You should always request the minimum and needed.
i didnt saw him one time said he doesnt need them
yes but why ?
like enable all doesnt change anything
except facing this issue
but that how i think after all
It's kind of a dev "policy" or standard.
You're making discord give you resources you don't need.
until the bot is certified we dont really care about that