Skip to content

eng1k73cnh/DaCoolBot

Repository files navigation

DaCoolBot:tm:

Miscellaneous bot made for a local server written in TypeScript and discord.js

Current build: v2.5.1

Demo

Discord_ZZoPo3nwhJ

Usage

Only supports slash commands for convenience

/make: Creates a new reminder message

Options:
  • message (string) (required): (Pastebin / Google Spreadsheets URL containing) reminder message content
    • Returns RAW Pastebin content if provided a Pastebin URL
    • Else returns the given message content
  • mention (boolean): Mentions everyone after a message is created
    • Default output:
    `@everyone DaCoolReminder is updated for ${new Date(
    	Date.now() + 7 * 3600 * 1000
    ).toLocaleString("en-US", {
    	weekday: "long",
    	month: "long",
    	day: "numeric",
    	year: "numeric"
    })}`;
  • note (string): Mention note (not used if mention is false/not chosen)
    • Appends the note at the end of the mention message above (wrapped in parentheses)

/edit: Edit an existing reminder message

Options:
  • id (string) (required): ID of the message that needs to be edited
  • message (string) (required): (Pastebin / Google Spreadsheets URL containing) reminder message content
    • Returns RAW Pastebin content if provided a Pastebin URL
    • Else returns the given message content
  • mention (boolean): Mentions everyone after a message is created
    • Default output:
    `@everyone DaCoolReminder is updated for ${new Date(
    	Date.now() + 7 * 3600 * 1000
    ).toLocaleString("en-US", {
    	weekday: "long",
    	month: "long",
    	day: "numeric",
    	year: "numeric"
    })}`;
  • note (string): Mention note (not used if mention is false/not chosen)
    • Appends the note at the end of the mention message above (wrapped in parentheses)

/send: Write an anonymous message (only works in the selected channel)

Options:
  • message (string) (required): Message content
    • Sends the given message content as the bot

/set: Set the bot's presence status

Options:
  • type (ActivityType) (required): Type of the activity
  • message (string) (required): Name of the activity
  • status (PresenceStatusData) (required): Bot's status
  • url (string): Twitch/YouTube stream link