|
|
@ -9,7 +9,7 @@ To start off with, lets create a listener attached to our plugin that fires when |
|
|
|
```py |
|
|
|
@Plugin.listen('MessageCreate') |
|
|
|
def on_message_create(self, event): |
|
|
|
self.log.debug('Got message: {}'.format(event.message)) |
|
|
|
self.log.debug('Got message: %s', event.message) |
|
|
|
``` |
|
|
|
|
|
|
|
Ok, but what if we want to make a listener which welcomes new users to our server? Well thats also easy: |
|
|
|