From 15bef1142dd498cd6889b4e6cc0c9e99c0e58bd9 Mon Sep 17 00:00:00 2001 From: Peter D <690524+da-moo@users.noreply.github.com> Date: Sun, 18 Mar 2018 14:05:05 -0400 Subject: [PATCH] Change function call to property --- docs/bot_tutorial/building_block_listeners.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) ) ```