Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
71efaa0d45 | ||
|
|
fc4b370a1e |
@@ -116,6 +116,10 @@ func (c *CommandManager) OnMessage(session *discordgo.Session, m *discordgo.Mess
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if len(cmd) < 1 {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
var command *Command
|
var command *Command
|
||||||
invoked := cmd[0]
|
invoked := cmd[0]
|
||||||
if cmnd, ok := c.Commands[invoked]; ok {
|
if cmnd, ok := c.Commands[invoked]; ok {
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ func GetDefaultStatusManager() StatusManager {
|
|||||||
"Golang!",
|
"Golang!",
|
||||||
"DiscordGo!",
|
"DiscordGo!",
|
||||||
"Disgoman!",
|
"Disgoman!",
|
||||||
}, "30s"}
|
}, "300s"}
|
||||||
}
|
}
|
||||||
|
|
||||||
// HasHigherRole checks if the caller has a higher role than the target in the given guild
|
// HasHigherRole checks if the caller has a higher role than the target in the given guild
|
||||||
|
|||||||
Reference in New Issue
Block a user