Skip to content

Commit f4c45e9

Browse files
authored
Merge pull request #22 from chillsynth/main
Update develop with main and trigger push
2 parents 3022d3e + 0eb92a4 commit f4c45e9

5 files changed

Lines changed: 8 additions & 8 deletions

File tree

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# See https://fly.io/docs/app-guides/continuous-deployment-with-github-actions/
22

3-
name: Fly Deploy [dev]
3+
name: Fly Deploy [develop]
44
on:
55
push:
66
branches:
@@ -13,6 +13,6 @@ jobs:
1313
steps:
1414
- uses: actions/checkout@v4
1515
- uses: superfly/flyctl-actions/setup-flyctl@master
16-
- run: flyctl deploy --config fly.dev.toml --remote-only
16+
- run: flyctl deploy --config fly.develop.toml --remote-only
1717
env:
1818
FLY_API_TOKEN: ${{ secrets.FLY_API_DEV_TOKEN }}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# See https://fly.io/docs/app-guides/continuous-deployment-with-github-actions/
22

3-
name: Fly Deploy [prod]
3+
name: Fly Deploy [live]
44
on:
55
push:
66
branches:
@@ -13,6 +13,6 @@ jobs:
1313
steps:
1414
- uses: actions/checkout@v4
1515
- uses: superfly/flyctl-actions/setup-flyctl@master
16-
- run: flyctl deploy --config fly.prod.toml --remote-only
16+
- run: flyctl deploy --config fly.live.toml --remote-only
1717
env:
1818
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}

fly.dev.toml renamed to fly.develop.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
44
#
55

6-
app = 'chillbot-dev'
6+
app = 'chillbot-develop'
77
primary_region = 'iad'
88

99
[env]

fly.prod.toml renamed to fly.live.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
44
#
55

6-
app = 'chillbot-prod'
6+
app = 'chillbot-live'
77
primary_region = 'iad'
88

99
[env]

internal/automod/bot_autoban.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ func (m *AutoModule) BotAutoBanner(msg *discordgo.MessageCreate) error {
1515
return fmt.Errorf("delete bot message: %w", err)
1616
}
1717

18-
err = m.Bot.Discord.GuildBanCreateWithReason(msg.GuildID, msg.Author.ID, "Suspected bot", 7, discordgo.WithRetryOnRatelimit(true))
18+
err = m.Bot.Discord.GuildBanCreateWithReason(msg.GuildID, msg.Author.ID, "Suspected bot: #avoid-this sent message", 7, discordgo.WithRetryOnRatelimit(true))
1919

2020
if err != nil {
2121
return fmt.Errorf("guild ban bot: %w", err)
@@ -76,7 +76,7 @@ func (m *AutoModule) SetupInstantBanButton() error {
7676
}
7777

7878
// GET BANNED
79-
err = m.Bot.Discord.GuildBanCreateWithReason(i.GuildID, i.Member.User.ID, "Suspected bot", 7, discordgo.WithRetryOnRatelimit(true))
79+
err = m.Bot.Discord.GuildBanCreateWithReason(i.GuildID, i.Member.User.ID, "Suspected bot: #avoid-this clicked button", 7, discordgo.WithRetryOnRatelimit(true))
8080

8181
if err != nil {
8282
m.Bot.HandleError(fmt.Errorf("ban user from ban button interaction: %w", err))

0 commit comments

Comments
 (0)