Russian multipurpose Discord Bot
I am using pnpm
in a project but you can use any other package manager
git clone https://github.com/AgentRBY/White_Alice
cd White_Alice
pnpm install
- Create an
.env
file and fill it according to the pattern inenvironment.d.ts
or.env.example
- Required variables:
- botToken — Bot token from Discord Developer Portal
- Optional variables:
- mongoURI — MongoDB URI, more info here
- environment — development or production. If development, application commands set to dev guild (see next)
- devGuildID — Development Guild ID, used to add application commands if environment set to development
- prefix — Default bot prefix. If not specified will be used
>
- ownersID — User ID of the creators, separated by commas without a space (example:
123,435
) - mode — If set to
development
, then only the creators specified in the ownerID can use the bot. If set totesting
, then only the testers can use the bot. Other values (including production) do nothing - auddToken — Audd.io token from Audd.io API. If not specified, the
findMusic
command will not work.
- Run
pnpm dev
for development orpnpm build
andpnpm start
for production
Turn on this intents in Discord Developer Portal:
- Presence intent
- Server members intent
- Message content intent
Moderation
— Logging of all actions, the impact of the number of warnings / bans on the duration of the mute and moreUtils
— Various utils commandsVoice
— Custom user voices module
Report
— Report user to moderators
Moderation
— Mute command, in future — other moderation commands from Common commands
AntiPing
— prevents mass mentions of peopleAntiScam
— Deleting all messages containing nitro scam linksMediaChannel
— Create a channel for media (any posts that do not contain links or attachments will be deleted)