use da exec lol

This commit is contained in:
lickthecheese 2020-04-06 18:26:30 -04:00
parent 27d7314362
commit bcbf753506
2 changed files with 1 additions and 1 deletions

View file

@ -36,7 +36,7 @@ async def joins(self, chan, source, msg):
async def ev(self, chan, source, msg):
msg = msg.split(' ')
setattr(self,msg.pop(0), eval(' '.join(msg)))
exec(' '.join(msg))
await self.message(chan, 'ok')
commands = {