bctix / haxeDiscordbotTemplate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hxDiscord bot template

hello, I've been making a few bots on my own with hxDiscord and thought I should finally make some sort of template for these bots so I don't have to constantly rewrite it.

How it works

The template already handles everything for running command files and such.

All you need to do is make those commands!

you can change the prefix on BotConfig.hx, and make sure you set your bot API key in SecretApiStuff.hx.

Commands don't have any exact case requirements, for example, if in discord someone says "-!PinG". it will run Ping.hx

When building (haxe .\compile.hxml), your bot will be found in builds\cpp\Main.exe.

Planned Additions/Changes

  • Automatically create slash commands
  • Add more into BotConfig.hx
    • status/presence
  • Hot reloading ( might not happen )

About

License:MIT License


Languages

Language:Haxe 100.0%