#It is not the same

1 messages · Page 1 of 1 (latest)

humble rivet
#

is it not the same as the video can anyone help me? 8:03 in

#

This is the Ultimate Python Guide on Buttons with Discord.py or Pycord. In this video, I talk about how to create buttons in discord.py or pycord and how to respond to button clicks along with everything about Views. After watching this you'll know everything about Buttons and Views in discord.py or pycord.

This video might also apply to other...

▶ Play video
mild gull
#

If you have any issues, please specify

humble rivet
#

that the bot is saying

#

and makes a button

mild gull
#

Is there something that is not working?

humble rivet
#

yes

mild gull
#

What

humble rivet
#

it's a swedish server and when i type !Hej noting happens

mild gull
#

could you show your code

humble rivet
#

code to what?

mild gull
#

the bot?

humble rivet
#

i can't see the whole thing

mild gull
#

?

humble rivet
mild gull
#

did you save and run the bot?

humble rivet
#

Yes i think so

#

it's online

mild gull
#

are you receiving any errors

humble rivet
mild gull
#

you're missing a comma after bot"

humble rivet
#

oh

#

maybe that's the thing

mild gull
#

it's probably part of it

humble rivet
#

testing now

#

no :(

mild gull
#

are you running the bot properly?

humble rivet
#

think so

mild gull
#

try changing it to lowercase

humble rivet
mild gull
#

the command name

humble rivet
#

what

mild gull
#

by the way, do any commands work

humble rivet
#

no

mild gull
#

I don't think you are running your bot correctly. What does your terminal look like

humble rivet
mild gull
#

do you see "The bot is ready for use" each time you run the bot?

humble rivet
#

yes

mild gull
#

do you have an on_message anywhere

humble rivet
#

yea

mild gull
#

is there a bot.process_commands(message)in there

humble rivet
#

don't think so

mild gull
#

add that at the end

humble rivet
#

end of the whole thing?

mild gull
#

kinda hard to tell if I don't know how its structured

#

can you show it

humble rivet
#

show the end?

mild gull
#

of the on_message yes

humble rivet
mild gull
#
@client.event
async def on_message(message):
    if message.content == "test":
        # your code here

+   await client.process_commands(message)
humble rivet
#

what

#

that?

mild gull
#

add that there

humble rivet
#

so i dont remove anything?

fervent hemlock
#

no

mild gull
humble rivet
#

the +?

mild gull
humble rivet
#

oh so i remove that

fervent hemlock
#

i read your mind
i was gonna say "dont add the +" but i held back lmao

humble rivet
#

no doesent work

mild gull
#

did you save

humble rivet
#

no...

#

Now!

fervent hemlock
#

what IDE doesnt automatically run the in-editor code