Custom Scripting
  • Main Page
  • Setup Custom Scripts
    • How To Use Custom Scripts
  • Documentation
    • Examples
      • Embed Commands
      • Events
      • Autofarm Command
Powered by GitBook
On this page

Was this helpful?

  1. Documentation
  2. Examples

Events

Simple events you can implement into rise

This event will wait to see if someone deletes a message then print the name and content of it:

@Rise.event
async def on_message_delete(message):
    print(f"{CmdColor}{message.author.name} deleted this: " + str(message.content))
PreviousEmbed CommandsNextAutofarm Command

Last updated 3 years ago

Was this helpful?