#WTF IS WRONG

1 messages ยท Page 1 of 1 (latest)

split valley
#

?tag idw

fallen fiberBOT
#

Saying it doesn't work or asking what's wrong with this code? is not helpful for yourself or others.
Describe what you expect and/or tried (with your code), and what isn't going right.
Please provide any errors you get for optimal assistance.

neat furnace
#

when i do !myembed

edgy viper
#

?tag intents

fallen fiberBOT
#

https://docs.pycord.dev/en/master/intents.html
https://discord.com/developers/docs/topics/gateway#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)
Discord Developer Portal

Integrate your service with Discord โ€” whether it's a bot or a game or whatever your wildest imagination can come up with.

split valley
#

Is there any errors?

neat furnace
#

no

#

nothing

edgy viper
#

You need message_content intent

neat furnace
#

it doesnt work as well

edgy viper
#

Did you add the intents?

neat furnace
#

?

edgy viper
#

No?

neat furnace
#

then

#

wdym did i add the intents

edgy viper
#

You need message_content

neat furnace
#

intents.message_content = True

#

so i add this one

#

on my code

edgy viper
#

Yes

neat furnace
#

ty

edgy viper
#

Np lol

#

.close

rough marshBOT
#

Done with your help thread?

Please close your own help thread by using </close:1009144375709814897> with @pastel sun.

edgy viper
#

Not sure

neat furnace
edgy viper
#

Yea

neat furnace
#

how i get

#

emoji code

#

</pikapolice >

#

some shit

#

like that

split valley
#

\ before an emoji
\๐Ÿ‘
!rooAww