MCPcopy Index your code
hub / github.com/anilmisirlioglu/Asena

github.com/anilmisirlioglu/Asena @v2.0.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v2.0.0 ↗ · + Follow
444 symbols 818 edges 94 files 9 documented · 2%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Asena 🤖

License: MIT Stars Servers CodeFactor Discord Version

stable, fast, easy and surrounded by new generation technologies Discord giveaway & poll bot!

Build & Run

:warning: It should only be used for testing in development.

  1. First, install repository sh git clone --branch stable https://github.com/anilmisirlioglu/Asena && cd Asena

  2. Then, set permission and run sh chmod +x ./service-install.sh ./service-install.sh --run

High-Level Design

asena-1

Multi Language Support

[EN] Due to the high usage of the bot on Turkish servers, the default language of the bot is set to Turkish. You can change the language of the bot in the server with the command !alocale set <language-code>

[TR] Botun yüksek oranda Türk sunucularında kullanılmasından dolayı botun varsıyılan dili Türkçe olarak ayarlanmıştır. Botun sunucu içerisinde ki dilini !alocale set <dil-kodu> komutu ile değiştirebilirsiniz.

Example to make the bots default language English:

!alocale set en

Commands

Prefix: !a (Default)

Command Description
cancel Cancels the giveaway.
create Starts new giveaway in one line.
reroll Repeat the results of the giveaway.
setup Starts the interactive setup wizard.
end Finish the giveaway early.
raffles List active giveaways on the server.
soundaway Starts a new quick giveaway in the voice channel.
vote Starts a simple 2-option poll on the server.
question Asks a question.
help Sends the help menu to your inbox via a private message.
setprefix The command changes its prefix.
scperm It regulates the authority of the command.
invite Sends the bots invite URL to the chat.
locale Changes the bots default language.
ping Displays the bot network latency information.

Self-Hosting

Asena is software that does not generate revenue. All features are offered for free. But for those who insist on hosting their own; The reason bot codes are open source is to help other developers who want to code the bot, to see the working principle and to contribute to those who want to solve the bot's software problems. Other than that, you cannot host the bot yourself in any way. This is a violation of rights. Otherwise, no assistance will be provided to edit, compile or generate any code in this repository.

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Method 208
Class 132
Function 60
Interface 37
Enum 7

Languages

TypeScript100%

Modules by API surface

src/structures/Raffle.ts19 symbols
src/SuperClient.ts18 symbols
src/utils/Version.ts14 symbols
src/utils/TextFormat.ts12 symbols
src/structures/Server.ts12 symbols
src/setup/InteractiveSetup.ts11 symbols
src/command/CommandHandler.ts10 symbols
src/utils/DateTimeHelper.ts9 symbols
src/setup/SetupPhase.ts9 symbols
src/managers/Manager.ts9 symbols
src/language/LanguageManager.ts9 symbols
src/services/CooldownService.ts8 symbols

Datastores touched

PremiumCollection · 1 repos
RaffleCollection · 1 repos
ServerCollection · 1 repos
SurveyCollection · 1 repos

For agents

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

⬇ download graph artifact

Ask about this repo answers extend the page