-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some quality of life changes #3
Changes from all commits
a45bc95
b9bed65
5c227d2
86a98ad
ce85726
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/sh | ||
export BOT_TOKEN=PlaceYourTokenHere | ||
npm run build | ||
npm run start |
This file was deleted.
Original file line number | Diff line number | Diff line change | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -3,6 +3,21 @@ import type { Interaction, Message } from "discord.js"; | |||||||||||||||||
import { IntentsBitField, ActivityType } from "discord.js"; // Import ActivityType | ||||||||||||||||||
import { Client } from "discordx"; | ||||||||||||||||||
|
||||||||||||||||||
console.log(`$$\\ $$\\ $$\\ $$\\ | ||||||||||||||||||
$$$\\ $$$ | \\__| $$ | | ||||||||||||||||||
$$$$\\ $$$$ | $$$$$\\\\ $$$$$\\\\ $$\\ $$$$$$$\\ $$$$$\\\\ $$$$$\\\\ $$$$$$$ | | ||||||||||||||||||
$$\\$$\\$$ $$ | \\____$$\\ $$ __$$\\ $$ |$$ _____|$$ __$$\\ $$ __$$\\ $$ __$$ | | ||||||||||||||||||
$$ \\$$$ $$ | $$$$$$$ |$$ / $$ |$$ |$$ / $$ / $$ |$$ | \\__|$$ / $$ | | ||||||||||||||||||
$$ |\\$ /$$ |$$ __$$ |$$ | $$ |$$ |$$ | $$ | $$ |$$ | $$ | $$ | | ||||||||||||||||||
$$ | \\_/ $$ |\\$$$$$$$ |\\$$$$$$$ |$$ |\\$$$$$$$\\ \\$$$$$$ |$$ | \\$$$$$$$ | | ||||||||||||||||||
\\__| \\__| \\_______| \\____$$ |\\__| \\_______| \\______/ \\__| \\_______| | ||||||||||||||||||
$$\\ $$ | | ||||||||||||||||||
\\$$$$$$ | | ||||||||||||||||||
\\______/ | ||||||||||||||||||
|
||||||||||||||||||
|
||||||||||||||||||
Always free, Always open source`); | ||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. suggestion (performance): Consider moving ASCII art to a separate file and optimize logging While the ASCII art is creative, it might be better to move it to a separate configuration or constants file to keep the main file clean and focused on core functionality. Additionally, logging such a large string on every run could impact startup performance. Consider logging it only in debug mode or on first run to optimize the bot's startup time.
Suggested change
|
||||||||||||||||||
|
||||||||||||||||||
export const bot = new Client({ | ||||||||||||||||||
// To use only guild command | ||||||||||||||||||
// botGuilds: [(client) => client.guilds.cache.map((guild) => guild.id)], | ||||||||||||||||||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggestion (documentation): Specify shell type for code block.
Adding 'sh' to the code block for Linux/BSD/MacOS/GitBash improves clarity.