1
0
Fork 0
mirror of https://github.com/myned/modufur.git synced 2024-11-01 13:02:38 +00:00

Fix aliases not dumping to file

This commit is contained in:
Dylan Dizon 2018-11-06 17:05:17 -05:00
parent 4bc86c8f59
commit 66191759b8

View file

@ -1532,6 +1532,7 @@ class MsG:
await self.bot.wait_for('reaction_add', check=on_reaction, timeout=7 * 60) await self.bot.wait_for('reaction_add', check=on_reaction, timeout=7 * 60)
self.aliases.update(aliases) self.aliases.update(aliases)
u.dump(self.aliases, 'cogs/aliases.pkl')
await message.delete() await message.delete()