#๐Ÿ”’ Discord Bot Creation

13 messages ยท Page 1 of 1 (latest)

alpine whale
#

When I start this code the bot does come online but when I say hello it doesn't respond and when I changed it to a print response it never responded either (obviously not in the physical discord server on the printing one)

worn ravineBOT
#

@alpine whale

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

alpine whale
#

oh shit

#

i gotta blur my bot id thing

#

also im watching a tutorial and in that it worked

lament socket
#

Lines number 7 to 12 need to be one level of indentation deeper

#

Your on_message definition is outside the Client class definition

#

Also make sure to enable message_content on the developer portal on top of enabling it in code

alpine whale
#

ok ty

queen goblet
#

I suggest you dont watch a tutorial. I have not seen a youtube tutorial that is good yet. This one included by the looks of it.

worn ravineBOT
#
Python help channel closed for inactivity

This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.