Skip to content

Commit

Permalink
don;t limit cmds to testting guild
Browse files Browse the repository at this point in the history
  • Loading branch information
Huskydog9988 committed Jan 30, 2023
1 parent a6a7438 commit ce26a93
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 18 deletions.
6 changes: 3 additions & 3 deletions cmds/starcitizen/gameinfo.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ func (c *GameInfoCommand) Help(ctx ken.SubCommandContext) (emb *discordgo.Messag
return
}

func (c *GameInfoCommand) Guild() string {
return "492075852071174144"
}
// func (c *GameInfoCommand) Guild() string {
// return "492075852071174144"
// }

func (c *GameInfoCommand) Run(ctx ken.Context) (err error) {
ctx.Defer()
Expand Down
6 changes: 3 additions & 3 deletions cmds/starcitizen/organization.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ func (c *OrgCommand) Help(ctx ken.SubCommandContext) (emb *discordgo.MessageEmbe
return
}

func (c *OrgCommand) Guild() string {
return "492075852071174144"
}
// func (c *OrgCommand) Guild() string {
// return "492075852071174144"
// }

func (c *OrgCommand) Run(ctx ken.Context) (err error) {
ctx.Defer()
Expand Down
6 changes: 3 additions & 3 deletions cmds/starcitizen/player.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ func (c *PlayerCommand) Help(ctx ken.SubCommandContext) (emb *discordgo.MessageE
return
}

func (c *PlayerCommand) Guild() string {
return "492075852071174144"
}
// func (c *PlayerCommand) Guild() string {
// return "492075852071174144"
// }

func (c *PlayerCommand) Run(ctx ken.Context) (err error) {
ctx.Defer()
Expand Down
6 changes: 3 additions & 3 deletions cmds/starcitizen/ship.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ func (c *ShipCommand) Help(ctx ken.SubCommandContext) (emb *discordgo.MessageEmb
return
}

func (c *ShipCommand) Guild() string {
return "492075852071174144"
}
// func (c *ShipCommand) Guild() string {
// return "492075852071174144"
// }

func (c *ShipCommand) Run(ctx ken.Context) (err error) {
ctx.Defer()
Expand Down
6 changes: 3 additions & 3 deletions cmds/system/support.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ func (c *SupportCommand) Help(ctx ken.SubCommandContext) (emb *discordgo.Message
return
}

func (c *SupportCommand) Guild() string {
return "492075852071174144"
}
// func (c *SupportCommand) Guild() string {
// return "492075852071174144"
// }

func (c *SupportCommand) Run(ctx ken.Context) (err error) {
err = ctx.FollowUpEmbed(&discordgo.MessageEmbed{
Expand Down
6 changes: 3 additions & 3 deletions cmds/system/vote.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ func (c *VoteCommand) Help(ctx ken.SubCommandContext) (emb *discordgo.MessageEmb
return
}

func (c *VoteCommand) Guild() string {
return "492075852071174144"
}
// func (c *VoteCommand) Guild() string {
// return "492075852071174144"
// }

func (c *VoteCommand) Run(ctx ken.Context) (err error) {
err = ctx.FollowUpEmbed(&discordgo.MessageEmbed{
Expand Down

0 comments on commit ce26a93

Please sign in to comment.