feat(eventlog): Add eventlog setting.
Also refactors the GeneralSettings to use the new style.
This commit is contained in:
@@ -93,3 +93,12 @@ class LionGuild(Timezoned):
|
||||
"""
|
||||
if self.data.name != guild.name:
|
||||
await self.data.update(name=guild.name)
|
||||
|
||||
async def _event_log(self, ...):
|
||||
...
|
||||
|
||||
def event_log(self, **kwargs):
|
||||
asyncio.create_task(self._event_log(**kwargs), name='event-log')
|
||||
|
||||
def error_log(self, ...):
|
||||
...
|
||||
|
||||
Reference in New Issue
Block a user