Skip to content

Commit

Permalink
[Enhancement] some formatting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
naseif committed Nov 17, 2021
1 parent 5eb8a69 commit 20219f4
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
9 changes: 1 addition & 8 deletions events/guildCreate.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,7 @@ module.exports = {
if (guild.systemChannel) {
guild.systemChannel.send({
content:
`**Thanks for adding me to your server!**\n- I am programmed with discord's latest slash commands feature!\n- to use me just type / and select a command to get started!\n- I also support commands with aliases, type ` +
"`" +
`${prefix}help` +
"`" +
` for more Info.\n- To set a custom prefix, type ` +
"`" +
`${prefix}setup <new prefix>` +
"`",
`**Thanks for adding me to your server!**\n- I am programmed with discord's latest slash commands feature!\n- to use me just type / and select a command to get started!\n- I also support commands with aliases, type \`${prefix}help\` for more Info.\n- To set a custom prefix, type \`${prefix}setup <new prefix>\``,
files: ["https://nekos.best/api/v1/cuddle/017.gif"],
});
} else {
Expand Down
4 changes: 4 additions & 0 deletions events/guildMemberRemove.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module.exports = {
name: "guildMemberRemove",
async execute(guildmember) {},
};
6 changes: 5 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ const { Database } = require("quickmongo");
const { connectDatabase } = require("./modules/DatabaseConnection");
const { commandsHelper } = require("./modules/commandsHelper");

if (!token || !mongourl) return logger("Please add your mongourl and bot token to config.json to start the bot!", "error")
if (!token || !mongourl)
return logger(
"Please add your mongourl and bot token to config.json to start the bot!",
"error"
);

const client = new Client({
intents: [
Expand Down
2 changes: 1 addition & 1 deletion playerEvents/player.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module.exports.playerEvents = (player) => {
embeds: [
embedMessage(
"9dcc37",
`Leaving ${queue.metadata.channel.guild.me.voice.channel.toString()} since its empty 🙄\n consider using the 247 command to prevent this behaviour 😎`
`Leaving ${queue.metadata.channel.guild.me.voice.channel.toString()} since its empty 🙄\nconsider using the 247 command to prevent this behaviour 😎`
),
],
});
Expand Down

0 comments on commit 20219f4

Please sign in to comment.