-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changes to block not set up guilds from using the bot
- Loading branch information
1 parent
fc07c6b
commit c31d94d
Showing
3 changed files
with
46 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
// Placeholder |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
const { EmbedBuilder } = require('discord.js'); | ||
|
||
module.exports = { | ||
success: function success (message, color, title = "Success") { | ||
return new EmbedBuilder() | ||
.setTitle(title) | ||
.setDescription(message) | ||
.setColor(color); | ||
}, | ||
error: function error (message, color, title = "Error") { | ||
return new EmbedBuilder() | ||
.setTitle(title) | ||
.setDescription(message) | ||
.setColor(color); | ||
}, | ||
warn: function warn (message, color, title = "Warning") { | ||
return new EmbedBuilder() | ||
.setTitle(title) | ||
.setDescription(message) | ||
.setColor(color); | ||
} | ||
} |