diff --git a/docs/bot_tutorial/building_block_listeners.md b/docs/bot_tutorial/building_block_listeners.md index 37f985c..15000fd 100644 --- a/docs/bot_tutorial/building_block_listeners.md +++ b/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) ) ```