SubZeroCuber
Member
1) I have been making a discord bot dedicated to cubing. One of it's current functions are telling cubing jokes such as puns etc. However, I only got 19 so far, so if you have any good cubing jokes, pls tell me here.
2) For those who know python, im writing the bot with python. However, I wanna make a clear messages function but im not sure how to make it. I google searched it but most of it is sth like async def clear(.......) etc etc, but I want my code in my async def on_message(messages): function. Please help me if you know how to do so.
3) Another python question. My bot can now respond to simple commands, but how can I programme it to
a) react to messages
b) reply to messages (like not only respond but literally reply with that left arrow thing)
c) interactive messages (don't rlly know what the name is, but it's sth like:
Command: !clear all
Respond: Are you sure u wanna clear all messages in this channel? Reply with y/n
Command:
y
Respond: All messages deleted
so pls ans and I would really appreciate it! ;D
2) For those who know python, im writing the bot with python. However, I wanna make a clear messages function but im not sure how to make it. I google searched it but most of it is sth like async def clear(.......) etc etc, but I want my code in my async def on_message(messages): function. Please help me if you know how to do so.
3) Another python question. My bot can now respond to simple commands, but how can I programme it to
a) react to messages
b) reply to messages (like not only respond but literally reply with that left arrow thing)
c) interactive messages (don't rlly know what the name is, but it's sth like:
Command: !clear all
Respond: Are you sure u wanna clear all messages in this channel? Reply with y/n
Command:
y
Respond: All messages deleted
so pls ans and I would really appreciate it! ;D