MCPcopy Index your code
hub / github.com/TehNut/AniSchedule

github.com/TehNut/AniSchedule @2.0.3

Chat with this repo
repository ↗ · DeepWiki ↗ · release 2.0.3 ↗ · + Follow
40 symbols 105 edges 16 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

AniSchedule Latest Release

A Discord bot that uses the AniList API to retrieve the airing schedule for configured anime and sends a message when a new episode has aired.

Example Announcement Example Announcement

Running Locally

Make sure you have Node.js installed.

Run these commands to get the project locally:

git clone https://github.com/TehNut/AniSchedule.git # or clone your own fork
cd AniSchedule
npm install
npm run build

Create a new .env file in the root directory of the project (the same directory as this README) with the following property:

BOT_TOKEN=$TOKEN

$TOKEN should be the bot token obtained from Discord's developer panel.

Finally, run npm start to start the bot.

Commands

Commands should be prefixed by the prefix set for your server. The default prefix is ?as. If you wish to change the prefix for your server, run ?asprefix <prefix>.

eg: If your prefix is ?as, the command would be ?aswatch.

For a list of commands, run ?ashelp. To get help with a specific command, you can run ?ashelp <command> (Don't use the prefix).

Some commands require specific permissions. To set the permission level for your server, run ?aspermission <permission>.

Extension points exported contracts — how you extend this code

CommandOptions (Interface)
(no doc)
src/command/Command.ts

Core symbols most depended-on inside this repo

query
called by 5
src/Util.ts
getFromNextDays
called by 5
src/Util.ts
checkPermission
called by 5
src/Permission.ts
reply
called by 4
src/Util.ts
createAnnouncementEmbed
called by 3
src/Util.ts
getMediaId
called by 2
src/Util.ts
formatTime
called by 2
src/Util.ts
getPermissionString
called by 2
src/Permission.ts

Shape

Function 23
Class 8
Method 7
Enum 1
Interface 1

Languages

TypeScript100%

Modules by API surface

src/DataStore.ts12 symbols
src/Util.ts8 symbols
src/AniSchedule.ts5 symbols
src/command/Command.ts4 symbols
src/Permission.ts3 symbols
src/command/CommandWatching.ts2 symbols
src/DiscordHandler.ts2 symbols
src/command/CommandPrefix.ts1 symbols
src/command/CommandPermission.ts1 symbols
src/command/CommandNextDay.ts1 symbols
script/clean.js1 symbols

For agents

$ claude mcp add AniSchedule \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact