diff --git a/buttons/bot.py b/buttons/bot.py new file mode 100644 index 0000000..3e430af --- /dev/null +++ b/buttons/bot.py @@ -0,0 +1,15 @@ +import hikari + +bot = hikari.GatewayBot(token="...") + +@bot.listen() +async def ping(event: hikari.GuildMessageCreateEvent) -> None: + if event.is_bot or not event.content: + return + + if event.content.startswith("hk.ping"): + await event.message.respond("Pong!") + +bot.run() + +# This is just a basic script to have minimal functionality at the very least. \ No newline at end of file