Browse Source

Merge 15bef1142d into 97876f2c34

pull/87/merge
DaMoo 7 years ago
committed by GitHub
parent
commit
94554fd743
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      docs/bot_tutorial/building_block_listeners.md

2
docs/bot_tutorial/building_block_listeners.md

@ -46,6 +46,6 @@ class MyPlugin(Plugin):
@Plugin.listen('GuildMemberAdd')
def on_member_add(self, event):
self.bot.client.state.channels.get(WELCOME_CHANNEL).send_message(
'Welcome to the server {}'.format(event.member.user.mention())
'Welcome to the server {}'.format(event.member.user.mention)
)
```

Loading…
Cancel
Save