import discord
client = discord.Client()
@client.event
async def on_ready():
print(f'Logged in as {client.user}')
@client.event
async def on_message(message):
print(f'Message from {message.author}: {message.content}')
client.run('', bot=False)```
Im trying to log all messages using self bot( yes ik its not allowed im just learning stuff ) and it wont show the message content, it will only show the messages it in DMs
Any fixes?
#๐ Message content wont show
15 messages ยท Page 1 of 1 (latest)
@exotic maple
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.
Closes after a period of inactivity, or when you send !close.
We are not going to help with something that is not allowed ๐
does not matters if it is for "learning purposes"
hows that not even allowed
literally message logging
well, for starters Discord does not allows it and will ban you for it
people use selfbotting for worse stuff and im gonna get banned for learning how to log messages
lmfao
yes, you'll get banned for doing anything they consider as "bad"
people using it for worse stuff does not justifies you using it
rhats just stupid
This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, 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.