mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-02 15:44:06 +01:00
Changed style of ord command to be cleaner.
This commit is contained in:
parent
046c6998e4
commit
73c3b811aa
@ -101,8 +101,7 @@ class FunCommands(callbacks.Privmsg):
|
||||
if len(letter) != 1:
|
||||
irc.error(msg, 'Letter must be of length 1 (for obvious reasons)')
|
||||
else:
|
||||
i = ord(letter)
|
||||
irc.reply(msg, str(i))
|
||||
irc.reply(msg, str(ord(letter)))
|
||||
|
||||
def chr(self, irc, msg, args):
|
||||
"""<number>
|
||||
|
Loading…
Reference in New Issue
Block a user