Documentation ¶
Index ¶
- func AddCompany(dg *discordgo.Session, guildName, parentChannel, channelName string) error
- func AddUserToRole(dg *discordgo.Session, guildName, roleName, username string) error
- func NewCmdAddCompany() *cobra.Command
- func NewCmdAddMember() *cobra.Command
- func NewCmdRemoveMember() *cobra.Command
- func NewRootCmd() *cobra.Command
- func RemoveUserFromRole(dg *discordgo.Session, guildName, roleName, username string) error
- type ErrNotFound
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCompany ¶
func AddUserToRole ¶
func NewCmdAddCompany ¶
discord-mgr add-company --guild=appscode --role=company_a
func NewCmdAddMember ¶
discord-mgr add-role --guild=appscode --role=company_a --username=tamal
func NewCmdRemoveMember ¶
discord-mgr remove-role --guild=appscode --role=company_a --username=tamal
func NewRootCmd ¶
Types ¶
type ErrNotFound ¶
func (ErrNotFound) Error ¶
func (e ErrNotFound) Error() string
Click to show internal directories.
Click to hide internal directories.