-
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.
- Loading branch information
1 parent
977a105
commit 8dc221e
Showing
6 changed files
with
46 additions
and
9 deletions.
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
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 Base = require("./Command.js"); | ||
const Discord = require('discord.js'); | ||
const Util = require("../Util/Util.js"); | ||
|
||
class About extends Base { | ||
constructor() { | ||
super("About", "Information about the Bot", "misc"); | ||
} | ||
|
||
async run(message, args) { | ||
if (!message.guild) return; | ||
|
||
const embed = Util.getEmbed(this.client); | ||
embed.setTitle("💻 About") | ||
.setThumbnail(this.client.user.avatarURL()) | ||
.setDescription("GlatzBot was developed to run on the Raspberry Pi 4. Main Feature is to show the Local-IP of the Pi because it can be quite a tedious task to find out") | ||
.addField("Credits", `©RequestFX#1541, GLATZ`, false) | ||
message.channel.send({ embeds: [embed] }); | ||
} | ||
} | ||
|
||
module.exports = About; |
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
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"prefix": "!", | ||
"token": "NzU3OTc0OTcyMjk4NjkwNjIy.X2oNMw.Q0eybe2rXkeQjKivtq1DPQmDDRU" | ||
"token": "NzU3OTc0OTcyMjk4NjkwNjIy.X2oNMw.ga8ShbFaI8nZxgPivly6wVSN7VE" | ||
} |
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