This repository has been archived on 2024-03-02. You can view files and clone it, but cannot push or open issues or pull requests.
probotic/include/help.h

30 lines
1.4 KiB
C
Raw Normal View History

2023-08-03 23:27:25 -04:00
#ifndef HELP_H_
/*--------------------------------------------------------------------------------*/
/* Lines shouldn't be longer than 80 characters, which is this long ^ */
/* note that this is a really terrible way to do this. there should be an
implementation file (help.c) and this file should simply expose that file to
the linker, but this also makes the codegen larger by being duplicated
(prossiby optimized?) I've moved the header to the unity.c rather than move
those definitions away from here. And because this file was included twice
this issue couldn't be so simply overlooked. */
char const * help_msg =
IRC_GREEN "!help " IRC_STOP " : This message\n"
IRC_GREEN "!remind " IRC_STOP " : Dump current assignment\n"
IRC_GREEN "!reroll " IRC_STOP " : Rerolls assignment\n"
IRC_GREEN "!set_repo <link>" IRC_STOP " : Sets project repository link\n"
IRC_GREEN "!raw <sql> " IRC_STOP " : Execute raw SQL\n"
IRC_GREEN "!dump " IRC_STOP " : List all possible projects\n"
IRC_GREEN "!request " IRC_STOP " : Request personal project\n"
IRC_GREEN "!remind " IRC_STOP " : Prints your assignment\n"
;
char const * fmsg =
"%s\x2C\x20\x79\x6F\x75\x20\x61\x72\x65\x20\x66\x61\x67\x67"
"\x6F\x74\x20\x66\x6F\x72\x20\x74\x68\x61\x74\x20\x6F\x70"
"\x69\x6E\x69\x6F\x6E\x2E";
#define HELP_H_
#endif