Skip to content

Commit

Permalink
fix: update repository name (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
adalinesimonian authored Feb 14, 2025
2 parents ad493d3 + 0248939 commit 1de51ab
Show file tree
Hide file tree
Showing 18 changed files with 42 additions and 35 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ As a [Go](https://golang.org) project, you'll need to have Go installed on your
1. To contribute to Heimdallr, you'll need to fork the repository and clone it to your machine. You can do this by running the following command:

```bash
git clone https://github.com/myrkvi/heimdallr.git
git clone https://github.com/NLLCommunity/heimdallr.git
cd heimdallr
```

Expand Down
4 changes: 2 additions & 2 deletions commands/admin.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
"github.com/disgoorg/disgo/handler"
"github.com/disgoorg/json"

"github.com/myrkvi/heimdallr/model"
"github.com/myrkvi/heimdallr/utils"
"github.com/NLLCommunity/heimdallr/model"
"github.com/NLLCommunity/heimdallr/utils"
)

var AdminCommand = discord.SlashCommandCreate{
Expand Down
5 changes: 3 additions & 2 deletions commands/ban.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ import (
"github.com/disgoorg/disgo/handler"
"github.com/disgoorg/disgo/rest"
"github.com/disgoorg/json"
"github.com/myrkvi/heimdallr/model"
"github.com/myrkvi/heimdallr/utils"

"github.com/NLLCommunity/heimdallr/model"
"github.com/NLLCommunity/heimdallr/utils"
)

var BanCommand = discord.SlashCommandCreate{
Expand Down
3 changes: 2 additions & 1 deletion commands/create_role_button.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ import (
"github.com/disgoorg/disgo/discord"
"github.com/disgoorg/disgo/handler"
"github.com/disgoorg/json"
"github.com/myrkvi/heimdallr/utils"

"github.com/NLLCommunity/heimdallr/utils"
)

var CreateRoleButtonCommand = discord.SlashCommandCreate{
Expand Down
4 changes: 2 additions & 2 deletions commands/gatekeep.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (
"github.com/disgoorg/json"
"github.com/disgoorg/snowflake/v2"

"github.com/myrkvi/heimdallr/model"
"github.com/myrkvi/heimdallr/utils"
"github.com/NLLCommunity/heimdallr/model"
"github.com/NLLCommunity/heimdallr/utils"
)

var ApproveUserCommand = discord.UserCommandCreate{
Expand Down
4 changes: 2 additions & 2 deletions commands/infractions.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ import (
"github.com/disgoorg/json"
"github.com/disgoorg/snowflake/v2"

"github.com/myrkvi/heimdallr/model"
"github.com/myrkvi/heimdallr/utils"
"github.com/NLLCommunity/heimdallr/model"
"github.com/NLLCommunity/heimdallr/utils"
)

// pageSize is the size of one page of infractions
Expand Down
2 changes: 1 addition & 1 deletion commands/kick.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/disgoorg/disgo/rest"
"github.com/disgoorg/json"

"github.com/myrkvi/heimdallr/utils"
"github.com/NLLCommunity/heimdallr/utils"
)

var KickCommand = discord.SlashCommandCreate{
Expand Down
6 changes: 3 additions & 3 deletions commands/prune.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import (
"github.com/disgoorg/disgo/rest"
"github.com/disgoorg/json"

"github.com/myrkvi/heimdallr/globals"
"github.com/myrkvi/heimdallr/model"
"github.com/myrkvi/heimdallr/utils"
"github.com/NLLCommunity/heimdallr/globals"
"github.com/NLLCommunity/heimdallr/model"
"github.com/NLLCommunity/heimdallr/utils"
)

var PruneCommand = discord.SlashCommandCreate{
Expand Down
3 changes: 2 additions & 1 deletion commands/quote.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ import (
"github.com/disgoorg/disgo/handler"
"github.com/disgoorg/json"
"github.com/disgoorg/snowflake/v2"
"github.com/myrkvi/heimdallr/utils"

"github.com/NLLCommunity/heimdallr/utils"
)

var quoteUrlRegex = regexp.MustCompile(
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/myrkvi/heimdallr
module github.com/NLLCommunity/heimdallr

go 1.23.0

Expand Down
2 changes: 1 addition & 1 deletion listeners/antispam_message.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"github.com/disgoorg/snowflake/v2"
"github.com/jellydator/ttlcache/v3"

"github.com/myrkvi/heimdallr/model"
"github.com/NLLCommunity/heimdallr/model"
)

const minMessageLength = 10
Expand Down
6 changes: 3 additions & 3 deletions listeners/audit_log.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import (
"github.com/disgoorg/disgo/discord"
"github.com/disgoorg/disgo/events"

"github.com/myrkvi/heimdallr/globals"
"github.com/myrkvi/heimdallr/model"
"github.com/myrkvi/heimdallr/utils"
"github.com/NLLCommunity/heimdallr/globals"
"github.com/NLLCommunity/heimdallr/model"
"github.com/NLLCommunity/heimdallr/utils"
)

func OnAuditLog(e *events.GuildAuditLogEntryCreate) {
Expand Down
5 changes: 3 additions & 2 deletions listeners/ban.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ import (

"github.com/disgoorg/disgo/discord"
"github.com/disgoorg/disgo/events"
"github.com/myrkvi/heimdallr/model"
"github.com/myrkvi/heimdallr/utils"

"github.com/NLLCommunity/heimdallr/model"
"github.com/NLLCommunity/heimdallr/utils"
)

func OnMemberBan(e *events.GuildBan) {
Expand Down
3 changes: 2 additions & 1 deletion listeners/gatekeep_join.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ import (
"log/slog"

"github.com/disgoorg/disgo/events"
"github.com/myrkvi/heimdallr/model"

"github.com/NLLCommunity/heimdallr/model"
)

func OnGatekeepUserJoin(e *events.GuildMemberJoin) {
Expand Down
4 changes: 2 additions & 2 deletions listeners/joinleave.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"github.com/disgoorg/disgo/discord"
"github.com/disgoorg/disgo/events"

"github.com/myrkvi/heimdallr/model"
"github.com/myrkvi/heimdallr/utils"
"github.com/NLLCommunity/heimdallr/model"
"github.com/NLLCommunity/heimdallr/utils"
)

func OnUserJoin(e *events.GuildMemberJoin) {
Expand Down
5 changes: 3 additions & 2 deletions listeners/notify_on_warned_user_join.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ import (

"github.com/disgoorg/disgo/discord"
"github.com/disgoorg/disgo/events"
"github.com/myrkvi/heimdallr/model"
"github.com/myrkvi/heimdallr/utils"

"github.com/NLLCommunity/heimdallr/model"
"github.com/NLLCommunity/heimdallr/utils"
)

func OnWarnedUserJoin(e *events.GuildMemberJoin) {
Expand Down
12 changes: 6 additions & 6 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ import (
"github.com/disgoorg/snowflake/v2"
"github.com/spf13/viper"

"github.com/myrkvi/heimdallr/commands"
"github.com/myrkvi/heimdallr/components"
_ "github.com/myrkvi/heimdallr/config"
"github.com/myrkvi/heimdallr/listeners"
"github.com/myrkvi/heimdallr/model"
"github.com/myrkvi/heimdallr/scheduled_tasks"
"github.com/NLLCommunity/heimdallr/commands"
"github.com/NLLCommunity/heimdallr/components"
_ "github.com/NLLCommunity/heimdallr/config"
"github.com/NLLCommunity/heimdallr/listeners"
"github.com/NLLCommunity/heimdallr/model"
"github.com/NLLCommunity/heimdallr/scheduled_tasks"
)

var rmGlobalCommands = flag.Bool("rm-global-commands", false, "Remove global commands")
Expand Down
5 changes: 3 additions & 2 deletions scheduled_tasks/remove_temp_bans.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ import (

"github.com/disgoorg/disgo/bot"
"github.com/disgoorg/disgo/rest"
"github.com/myrkvi/heimdallr/model"
"github.com/myrkvi/heimdallr/task"

"github.com/NLLCommunity/heimdallr/model"
"github.com/NLLCommunity/heimdallr/task"
)

func RemoveTempBansScheduledTask(client bot.Client) task.Task {
Expand Down

0 comments on commit 1de51ab

Please sign in to comment.