0
0
Fork 0

Add functional code

This commit is contained in:
Tyler-A 2020-04-20 15:48:01 -06:00
parent 23bc6c10f5
commit f34b4f2cb3
5 changed files with 251 additions and 0 deletions

30
src/config.template.ts Normal file
View file

@ -0,0 +1,30 @@
// A bot OAuth token that has access to the channels we are looking in.
export const DISCORD_OAUTH_TOKEN: string = ``;
// The Discord channel ID that the bot will be posting in
export const DISCORD_CHANNEL_ID: string = ``;
// The Discord webhook that we will be posting into
export const DISCORD_WEBHOOK: string = ``;
// The name of the webhook in Discord, if left undefined it will use the
// default name from within Discord
export const DISCORD_WEBHOOK_USERNAME: string|undefined = undefined;
// The file names for the database operations
export const DB_NAME: string = `used_quotes.json`
export const MSG_ID_FILE: string = `msg_id`
// The twitch.center URL for the quote list
export const QUOTE_URL: string = ``;
// The base API endpoint for Discord
export const DISCORD_API_BASE: string = `https://discordapp.com/api/v6`
// The details for the Discord emoji
export const EMOJI_A_ID: string = `701289852146286633`;
export const EMOJI_B_ID: string = `701289851923988540`;
export const EMOJI_A_NAME: string = `star`;
export const EMOJI_B_NAME: string = `like`;