thatmaxplayle / MaxBot

The Discord Bot written by a guy called Max. It basically does everything 🤩
https://maxplayle04.github.io/MaxBot
0 stars 0 forks source link

By-category rules pulling doesn't work with added commands (mmbot/rules command) #4

Closed thatmaxplayle closed 4 years ago

thatmaxplayle commented 4 years ago

For some reason, the command "mmbot/rules bycat general" doesn't print out a new command added seconds ago.

thatmaxplayle commented 4 years ago

Fixed by adding an end of file token to all rules files, which MaxBot looks for and sends an extra embed if is present. This token isn't printed alongside the rules, however, and is removed. image

If you are having trouble with the last rule in your file, please add @@MAXBOT.END_OF_FILE to the end of the file, and it will begin printing.