use da exec lol
This commit is contained in:
parent
27d7314362
commit
bcbf753506
2 changed files with 1 additions and 1 deletions
Binary file not shown.
|
@ -36,7 +36,7 @@ async def joins(self, chan, source, msg):
|
||||||
|
|
||||||
async def ev(self, chan, source, msg):
|
async def ev(self, chan, source, msg):
|
||||||
msg = msg.split(' ')
|
msg = msg.split(' ')
|
||||||
setattr(self,msg.pop(0), eval(' '.join(msg)))
|
exec(' '.join(msg))
|
||||||
await self.message(chan, 'ok')
|
await self.message(chan, 'ok')
|
||||||
|
|
||||||
commands = {
|
commands = {
|
||||||
|
|
Loading…
Reference in a new issue