mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-10-11 22:37:23 +02:00
Updated stuff for 2.3 to break 2.2 compatibility :)
This commit is contained in:
parent
b4633370ce
commit
36996dd3cf
@ -152,9 +152,7 @@ class Moobot(callbacks.Privmsg):
|
|||||||
def reverse(self, irc, msg, args):
|
def reverse(self, irc, msg, args):
|
||||||
"<text>"
|
"<text>"
|
||||||
text = privmsgs.getArgs(args)
|
text = privmsgs.getArgs(args)
|
||||||
L = list(text)
|
irc.reply(msg, text[::-1])
|
||||||
L.reverse()
|
|
||||||
irc.reply(msg, ''.join(L))
|
|
||||||
|
|
||||||
def mime(self, irc, msg, args):
|
def mime(self, irc, msg, args):
|
||||||
"""<text>
|
"""<text>
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
# POSSIBILITY OF SUCH DAMAGE.
|
# POSSIBILITY OF SUCH DAMAGE.
|
||||||
###
|
###
|
||||||
|
|
||||||
from __future__ import generators
|
## from __future__ import generators
|
||||||
|
|
||||||
from fix import *
|
from fix import *
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
# POSSIBILITY OF SUCH DAMAGE.
|
# POSSIBILITY OF SUCH DAMAGE.
|
||||||
###
|
###
|
||||||
|
|
||||||
from __future__ import generators
|
## from __future__ import generators
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import string
|
import string
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
Data structures for Python.
|
Data structures for Python.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from __future__ import generators
|
## from __future__ import generators
|
||||||
|
|
||||||
from fix import *
|
from fix import *
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
Simple utility functions.
|
Simple utility functions.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from __future__ import generators
|
## from __future__ import generators
|
||||||
|
|
||||||
from fix import *
|
from fix import *
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
# POSSIBILITY OF SUCH DAMAGE.
|
# POSSIBILITY OF SUCH DAMAGE.
|
||||||
###
|
###
|
||||||
|
|
||||||
from __future__ import generators
|
## from __future__ import generators
|
||||||
|
|
||||||
from test import *
|
from test import *
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user