Added neko commands...

This commit is contained in:
2017-11-30 22:03:01 +01:00
parent b7a895ab41
commit 93593fa55c
+20
View File
@@ -53,6 +53,26 @@ class Porno(object):
print("No permission to delete message")
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)
@asyncio.coroutine
def gay(self, ctx):