MCPcopy Index your code
hub / github.com/TheBastionBot/Bastion

github.com/TheBastionBot/Bastion @v10.16.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release v10.16.2 ↗ · + Follow
758 symbols 1,317 edges 199 files 4 documented · 1% updated 4mo agov10.16.2 · 2025-08-30★ 32934 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README
<a title="Bastion" href="https://bastion.traction.one">
  <img alt="Bastion Logotype" src="https://bastion.traction.one/images/branding-logotype-light.png">
</a>

### Bastion is a multi-purpose Discord Bot that can help you automate most tasks in your server, from administration and moderation to keeping the members active through various incentives, games and other fun activities.

Whether you have a public community with hundreds of thousands of members or a private server with just your close friends, Bastion is the perfect choice for you with its boat load of features.

### Support Bastion's Development Donate to support the development of Bastion and get cool rewards!

DONATE NOW

Extension points exported contracts — how you extend this code

Settings (Interface)
(no doc)
src/types.ts
Currency (Interface)
(no doc)
src/commands/search/cryptocurrency.ts
Poll (Interface)
(no doc)
src/models/Poll.ts
UserSocialConnections (Interface)
(no doc)
src/types.ts
CurrencyResponse (Interface)
(no doc)
src/commands/search/cryptocurrency.ts
Trigger (Interface)
(no doc)
src/models/Trigger.ts
EntityAttributes (Interface)
(no doc)
src/types.ts
Wiki (Interface)
(no doc)
src/commands/search/wikipedia.ts

Core symbols most depended-on inside this repo

get
called by 127
src/utils/settings.ts
isPublicBastion
called by 16
src/utils/constants.ts
set
called by 15
src/utils/settings.ts
logGuildEvent
called by 14
src/utils/guilds.ts
checkFeature
called by 12
src/utils/premium.ts
getPremiumTier
called by 11
src/utils/premium.ts
isPremiumUser
called by 6
src/utils/premium.ts
resolveType
called by 4
src/utils/channels.ts

Shape

Method 332
Class 328
Function 47
Interface 44
Enum 7

Languages

TypeScript100%

Modules by API surface

src/types.ts10 symbols
src/utils/settings.ts9 symbols
src/utils/numbers.ts6 symbols
src/utils/members.ts6 symbols
src/commands/search/wikipedia.ts6 symbols
src/commands/search/urbanDictionary.ts6 symbols
src/commands/search/tv.ts6 symbols
src/commands/search/movie.ts6 symbols
src/commands/search/manga.ts6 symbols
src/commands/search/cryptocurrency.ts6 symbols
src/commands/search/anime.ts6 symbols
src/commands/gamestats/valorant.ts6 symbols

Datastores touched

GiveawayCollection · 1 repos
GuildCollection · 1 repos
MemberCollection · 1 repos
PollCollection · 1 repos
RoleCollection · 1 repos
SelectRoleGroupCollection · 1 repos
TriggerCollection · 1 repos
(mongodb)Database · 1 repos

For agents

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

⬇ download graph artifact

Ask about this repo answers extend the page