diff --git a/motd b/motd new file mode 100644 index 0000000..e287e55 --- /dev/null +++ b/motd @@ -0,0 +1,11 @@ + ▄▄ ▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄ ▄▄▄▄▄▄▄ +█ █ █ █ █ █ ▄ █ █ █ █ +█ █▄█ █ ▄▄▄█ ▄▄▄█ █▄█ █ █ █ ▄▄▄█ +█ █ █▄▄▄█ █▄▄▄█ █ █ █ █▄▄▄ +█ ▄ █ ▄▄▄█ ▄▄▄█ ▄ ██ █▄▄▄█ ▄▄▄█ +█ █ █ █ █▄▄▄█ █▄▄▄█ █▄█ █ █ █▄▄▄ +█▄█ █▄▄█▄▄▄▄▄▄▄█▄▄▄▄▄▄▄█▄▄▄▄▄▄▄█▄▄▄▄▄▄▄█▄▄▄▄▄▄▄█ +Neeble version: 1.1 +You can help the development of neeble in +https://github.com/KevinCaires/neeble +Thank you! \ No newline at end of file diff --git a/utils/commands.py b/utils/commands.py index 8ed836c..ea6db3c 100644 --- a/utils/commands.py +++ b/utils/commands.py @@ -105,7 +105,7 @@ async def delete_quote(bot, _id: int=None) -> str: if not 'Operador' in roles: return await bot.send("_And who the fuck do **YOU** think you are!?_.\n"\ - "(You don't have the necessary role for this command") + "(You don't have the necessary role for this command)") if not _id: return await bot.send("_If you don't tell me the ID, how the fuck do you expect me to delete it to you!?_\n(The correct syntax is " + syntax + ")") @@ -148,4 +148,24 @@ async def quote_count(bot: object) -> str: msg = "Quote count: `" + amount + "`" + return await bot.send(msg) + +@client.command(aliases=['v', 'version']) +async def info(bot: object) -> str: + """ + Displays the bot's information + """ + roles = [r.name for r in bot.author.roles] + + if not 'Operador' in roles: + return await bot.send("_And who the fuck do **YOU** think you are!?_.\n"\ + "(You don't have the necessary role for this command)") + + motd = open("./motd", mode='r') + text = motd.readlines() + fullbanner = "" + for lines in text: + fullbanner = fullbanner + lines + msg = f'''```\n''' + fullbanner + f'''\n```''' + return await bot.send(msg) \ No newline at end of file