refactor: Fix obsolete use of send_message_wrapper
This commit is contained in:
parent
84f6d93740
commit
9bd218b201
@ -37,7 +37,7 @@ class TestModule(BaseModule):
|
||||
|
||||
async def on_command(self, cmd, msg):
|
||||
greeting = self.get_option('greeting', 'OwO, %%user%%!').replace('%%user%%', str(msg.from_.bare()))
|
||||
self._base.send_message_wrapper(msg.from_, greeting)
|
||||
self.send_message(msg.from_, greeting)
|
||||
|
||||
def get_instance(base, **kwargs):
|
||||
return TestModule.get_instance(base, **kwargs)
|
||||
|
Loading…
Reference in New Issue
Block a user