Added neko commands...
This commit is contained in:
@@ -53,6 +53,26 @@ class Porno(object):
|
|||||||
print("No permission to delete message")
|
print("No permission to delete message")
|
||||||
yield from ctx.channel.send(ctx.author.mention + " Uit r/"+ randnsfw.display_name +": " + post.url)
|
yield from ctx.channel.send(ctx.author.mention + " Uit r/"+ randnsfw.display_name +": " + post.url)
|
||||||
|
|
||||||
|
|
||||||
|
@commands.command(pass_context=True)
|
||||||
|
@asyncio.coroutine
|
||||||
|
def nya(self, ctx):
|
||||||
|
""" nya? """
|
||||||
|
print(type(ctx.message.channel))
|
||||||
|
try:
|
||||||
|
if(not ctx.message.channel.is_nsfw()):
|
||||||
|
yield from ctx.channel.send("Alleen toegestaan in een NSFW kanaal")
|
||||||
|
return
|
||||||
|
except:
|
||||||
|
print("borf")
|
||||||
|
meow = self.r.subreddit('cat_girls+NekoIRL+Nekomimi')
|
||||||
|
post = meow.random()
|
||||||
|
try:
|
||||||
|
yield from ctx.message.delete()
|
||||||
|
except:
|
||||||
|
print("No permission to delete message")
|
||||||
|
yield from ctx.channel.send(ctx.author.mention + " " + post.url)
|
||||||
|
|
||||||
@commands.command(pass_context=True)
|
@commands.command(pass_context=True)
|
||||||
@asyncio.coroutine
|
@asyncio.coroutine
|
||||||
def gay(self, ctx):
|
def gay(self, ctx):
|
||||||
|
|||||||
Reference in New Issue
Block a user