updated token storage
This commit is contained in:
27
storage/bots.go
Normal file
27
storage/bots.go
Normal file
@@ -0,0 +1,27 @@
|
||||
package storage
|
||||
|
||||
type SimpleDiscordUser struct {
|
||||
Username string `json:"username"`
|
||||
Discriminator string `json:"discriminator"`
|
||||
Avatar string `json:"avatar"`
|
||||
Banner string `json:"banner"`
|
||||
Accent_color int `json:"accent_color"`
|
||||
Verified bool `json:"verified"`
|
||||
}
|
||||
|
||||
type BotData struct {
|
||||
Token string
|
||||
ID string
|
||||
Loaded SimpleDiscordUser
|
||||
}
|
||||
|
||||
// one array of just bot ids
|
||||
// `bot:(id):token`
|
||||
// `bot:(id):data`
|
||||
// SimpleDiscordUser
|
||||
|
||||
func GetBots() {
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user