forked from botlabs-gg/yagpdb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
info.go
27 lines (23 loc) · 1.04 KB
/
info.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
package info
import (
"fmt"
"github.com/jonas747/dcmd"
"github.com/jonas747/yagpdb/commands"
"github.com/jonas747/yagpdb/common"
)
var Command = &commands.YAGCommand{
CmdCategory: commands.CategoryGeneral,
Name: "Info",
Description: "Responds with bot information",
RunInDM: true,
RunFunc: func(data *dcmd.Data) (interface{}, error) {
info := fmt.Sprintf(`**YAGPDB - Yet Another General Purpose Discord Bot**
This bot focuses on being configurable and therefore is one of the more advanced bots.
It can perform a range of general purpose functionality (Reddit feeds, various commands, moderation utilities, automoderator functionality and so on) and it's configured through a web control panel.
I'm currently being run and developed by Jonas747#0001 (105487308693757952) but the bot is open source (<https://github.com/jonas747/yagpdb>), so if you know Go and want to make some contributions, DM me.
Control panel: <https://%s/manage>
Note: this bot has a lot of rough edges so to speak.
`, common.Conf.Host)
return info, nil
},
}