Upload files to "include"
This commit is contained in:
6
include/discordBot.h
Normal file
6
include/discordBot.h
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
#ifndef DISCORDBOT_H
|
||||||
|
#define DISCORDBOT_H
|
||||||
|
|
||||||
|
void discordBotRunner(void);
|
||||||
|
|
||||||
|
#endif
|
||||||
17
include/godsBot.h
Normal file
17
include/godsBot.h
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
#ifndef GODSBOT_H
|
||||||
|
#define GODSBOT_H
|
||||||
|
|
||||||
|
// global installs
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <stdbool.h>
|
||||||
|
#include <string.h>
|
||||||
|
#include <concord/discord.h>
|
||||||
|
#include <wren.h>
|
||||||
|
|
||||||
|
// local libs
|
||||||
|
#include "discordBot.h"
|
||||||
|
#include "wrenVM.h"
|
||||||
|
#include "messageParser.h"
|
||||||
|
|
||||||
|
#endif
|
||||||
6
include/messageParser.h
Normal file
6
include/messageParser.h
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
#ifndef MESSAGE_PARSER_H
|
||||||
|
#define MESSAGE_PARSER_H
|
||||||
|
|
||||||
|
bool parseMessage(const struct discord_message *msg);
|
||||||
|
|
||||||
|
#endif
|
||||||
14
include/wrenVM.h
Normal file
14
include/wrenVM.h
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
#ifndef WRENVM_h
|
||||||
|
#define WRENVM_h
|
||||||
|
|
||||||
|
// creates the vm
|
||||||
|
void WrenVmInit(void);
|
||||||
|
|
||||||
|
// runs commands in wren
|
||||||
|
char* WrenCommandHandler(const char* cmd, const char* args);
|
||||||
|
|
||||||
|
// frees the vm on end
|
||||||
|
|
||||||
|
void WrenVmFree(void);
|
||||||
|
|
||||||
|
#endif
|
||||||
Reference in New Issue
Block a user