Made with bot.ts by ghom
CLI version:9.0.7
Bot.ts version:v9.0.0-Nirbose
Licence:ISC
Bot de gestion des Laboratoires, écrit en TypeScript avec le framework bot.ts.
This bot is private and cannot be invited in other servers.
You can find the documentation of bot.ts here.
Below you will find the specifications for lab-tools.
import { Config } from "#core/config"
import { Emotes } from "#namespaces/emotes"
import { z } from "zod"
export const config = new Config({
ignoreBots: true,
openSource: true,
permissions: [],
envSchema: z.object({
OPENAI_API_KEY: z.string(),
}),
async getPrefix(message) {
return import("#namespaces/tools").then((app) => app.prefix(message.guild))
},
client: {
intents: [
"Guilds",
"GuildMembers",
"GuildModeration",
"GuildEmojisAndStickers",
"GuildIntegrations",
"GuildWebhooks",
"GuildInvites",
"GuildVoiceStates",
"GuildPresences",
"GuildMessages",
"GuildMessageTyping",
"GuildMessageReactions",
"DirectMessages",
"DirectMessageTyping",
"DirectMessageReactions",
"MessageContent",
],
},
paginatorEmojis: {
start: Emotes.Left,
previous: Emotes.Minus,
next: Emotes.Plus,
end: Emotes.Right,
},
systemEmojis: {
success: Emotes.CheckMark,
error: Emotes.Cross,
loading: Emotes.Loading,
},
})
export default config.options
- active - Refresh the active member list every 12 hours
- money - Give money to users hourly
- remind - Check reminders every minute
- tracker - Update the guild tracker every 5 minutes
- /buy - Use your coins to buy something
- /docs - Send doc links for the provided tags
- /help - Show slash command details or list all slash commands
- /hint - Try to help the author of the thread by generating a hint
- /ping - Get the bot ping
- /profile - View your profile
- /purge - Purge messages in a channel
- /remind - Set a reminder for yourself
- /title - Generate a title for the thread from its content
- active - Update the active list
- autoRole - Manage the auto roles
- backup - Manage database backups
- ban - Ban a user from all labs
- config - Display guild configs
- database - Run SQL query on database
- deploy - Deploy Lab Tool
- elders - Fetch the new elders of the server
- eval - JS code evaluator
- fake - Fake an user message
- fetch - Fetch all messages from a channel
- format - Format the given code
- help - Help menu
- info - Get information about bot
- invite - Generate an invitation link
- labs - Get a lab invite link
- leaderboard - Show all leaderboards
- moveto - Move a conversation to another channel
- point - Check your points
- prefix - Edit or show the bot prefix
- rating - Rate a user or a bot
- reply - The reply command
- restart - Restart Lab Tool
- terminal - Run shell command from Discord
- todo - Manage todo tasks
- turn - Turn on/off command handling
- givePoints - Gives some helping points to a user
- pagination - The pagination button
- resolveTopic - Mark the topic as resolved
- upTopic - Up the topic in the help forum
- messageCreate - Record sent messages
- messageCreate - Watch sent messages to detect and ban spammers
- interactionCreate - Handle the interactions for buttons
- guildDelete - Remove guild from db
- guildMemberRemove - Delete member from db
- messageCreate - Handle the messages for commands
- ready - Launch all cron jobs
- threadDelete - Clean up the helping table when a thread is deleted
- messageCreate - Handle messages in the help forum channels
- threadCreate - A threadCreate listener for helping.info
- afterReady - Just log that bot is ready
- messageDelete - Remove existing deleted paginator
- messageReactionAdd - Handle the reactions for pagination
- messageCreate - A messageCreate listener for reply
- ready - Send restart messages
- guildCreate - Deploy the slash commands to the new guild
- interactionCreate - Handle the interactions for slash commands
- ready - Deploy the slash commands
- guildMemberAdd - Update the tracker
- guildMemberRemove - Update the tracker
- guildMemberAdd - Prepares to welcome a new member
- guildMemberRemove - Announces when a member leaves the server
Using pg@^8.13.0 as database.
Below you will find a list of all the tables used by lab-tools.
- active - Active users in a guild
- autoRole - Auto roles in a guild
- guild - Guild settings
- helping - Table of helping
- labs - Laboratory list
- message - All messages sent by users in a guild
- point - Point reward logs
- note - Rating of a user by another user
- remind - Table of remind
- reply - Stores the automatic replies
- restart - Restart message for the deploy command
- todo - To-do list for users
- user - User data
This readme.md is dynamic, it will update itself with the latest information.
If you see a mistake, please report it and an update will be made as soon as possible.
- Used by: 12 Discord guilds
- Last update date: 3/5/2025