GLaDOS/proposal/help.py

10 lines
220 B
Python
Raw Normal View History

2023-06-11 21:22:40 +02:00
# Import the relevant bot
from main import my_bot
# Register a command to display help
# This uses the internal `help` method of class Bot
@my_bot.command("!help")
def help(msg):
my_bot.send(msg.to, my_bot.help())