diff --git a/src/Nadeko.Medusa/Context/AnyContext.cs b/src/Nadeko.Medusa/Context/AnyContext.cs index bcb8403e2..7188a58ad 100644 --- a/src/Nadeko.Medusa/Context/AnyContext.cs +++ b/src/Nadeko.Medusa/Context/AnyContext.cs @@ -1,5 +1,4 @@ using Discord; -using NadekoBot; namespace NadekoBot.Medusa; diff --git a/src/NadekoBot/Db/Models/anti/AntiRaidSetting.cs b/src/NadekoBot/Db/Models/anti/AntiRaidSetting.cs index cf9a32884..70457d0a3 100644 --- a/src/NadekoBot/Db/Models/anti/AntiRaidSetting.cs +++ b/src/NadekoBot/Db/Models/anti/AntiRaidSetting.cs @@ -1,6 +1,4 @@ #nullable disable -using System.ComponentModel.DataAnnotations.Schema; - namespace NadekoBot.Db.Models; diff --git a/src/NadekoBot/Migrations/MigrationQueries.cs b/src/NadekoBot/Migrations/MigrationQueries.cs index de415a983..0decf3c2f 100644 --- a/src/NadekoBot/Migrations/MigrationQueries.cs +++ b/src/NadekoBot/Migrations/MigrationQueries.cs @@ -1,6 +1,5 @@ using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Migrations; -using NadekoBot.Db.Models; namespace NadekoBot.Migrations; diff --git a/src/NadekoBot/Migrations/Mysql/20220409170652_mysql-init.cs b/src/NadekoBot/Migrations/Mysql/20220409170652_mysql-init.cs index 1c073f7ca..19c19557c 100644 --- a/src/NadekoBot/Migrations/Mysql/20220409170652_mysql-init.cs +++ b/src/NadekoBot/Migrations/Mysql/20220409170652_mysql-init.cs @@ -1,5 +1,4 @@ -using System; -using Microsoft.EntityFrameworkCore.Metadata; +using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; #nullable disable diff --git a/src/NadekoBot/Migrations/Mysql/20220429044757_bank.cs b/src/NadekoBot/Migrations/Mysql/20220429044757_bank.cs index 9e6221bc2..faaaac6fb 100644 --- a/src/NadekoBot/Migrations/Mysql/20220429044757_bank.cs +++ b/src/NadekoBot/Migrations/Mysql/20220429044757_bank.cs @@ -1,5 +1,4 @@ -using System; -using Microsoft.EntityFrameworkCore.Metadata; +using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; #nullable disable diff --git a/src/NadekoBot/Migrations/Mysql/20220504162509_new-rero.cs b/src/NadekoBot/Migrations/Mysql/20220504162509_new-rero.cs index ed110dfae..aa0b746da 100644 --- a/src/NadekoBot/Migrations/Mysql/20220504162509_new-rero.cs +++ b/src/NadekoBot/Migrations/Mysql/20220504162509_new-rero.cs @@ -1,5 +1,4 @@ -using System; -using Microsoft.EntityFrameworkCore.Metadata; +using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; #nullable disable diff --git a/src/NadekoBot/Migrations/Mysql/20220614071410_patronage-system.cs b/src/NadekoBot/Migrations/Mysql/20220614071410_patronage-system.cs index 7eb0bde01..15ec7684b 100644 --- a/src/NadekoBot/Migrations/Mysql/20220614071410_patronage-system.cs +++ b/src/NadekoBot/Migrations/Mysql/20220614071410_patronage-system.cs @@ -1,5 +1,4 @@ -using System; -using Microsoft.EntityFrameworkCore.Metadata; +using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; #nullable disable diff --git a/src/NadekoBot/Migrations/Mysql/20220623090718_stondel-db-cache.cs b/src/NadekoBot/Migrations/Mysql/20220623090718_stondel-db-cache.cs index 239bd2c50..8476e5b43 100644 --- a/src/NadekoBot/Migrations/Mysql/20220623090718_stondel-db-cache.cs +++ b/src/NadekoBot/Migrations/Mysql/20220623090718_stondel-db-cache.cs @@ -1,5 +1,4 @@ -using System; -using Microsoft.EntityFrameworkCore.Metadata; +using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; #nullable disable diff --git a/src/NadekoBot/Migrations/Mysql/20220725155953_xpitemshop.cs b/src/NadekoBot/Migrations/Mysql/20220725155953_xpitemshop.cs index ad43b1b09..bd0423d1e 100644 --- a/src/NadekoBot/Migrations/Mysql/20220725155953_xpitemshop.cs +++ b/src/NadekoBot/Migrations/Mysql/20220725155953_xpitemshop.cs @@ -1,5 +1,4 @@ -using System; -using Microsoft.EntityFrameworkCore.Metadata; +using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; #nullable disable diff --git a/src/NadekoBot/Migrations/Mysql/20220808141855_remove-obsolete-xp-columns.cs b/src/NadekoBot/Migrations/Mysql/20220808141855_remove-obsolete-xp-columns.cs index cbee10818..117abc0af 100644 --- a/src/NadekoBot/Migrations/Mysql/20220808141855_remove-obsolete-xp-columns.cs +++ b/src/NadekoBot/Migrations/Mysql/20220808141855_remove-obsolete-xp-columns.cs @@ -1,5 +1,4 @@ -using System; -using Microsoft.EntityFrameworkCore.Migrations; +using Microsoft.EntityFrameworkCore.Migrations; #nullable disable diff --git a/src/NadekoBot/Migrations/Mysql/20220916194514_autopub.cs b/src/NadekoBot/Migrations/Mysql/20220916194514_autopub.cs index 48cfc2051..3d304f28a 100644 --- a/src/NadekoBot/Migrations/Mysql/20220916194514_autopub.cs +++ b/src/NadekoBot/Migrations/Mysql/20220916194514_autopub.cs @@ -1,5 +1,4 @@ -using System; -using Microsoft.EntityFrameworkCore.Metadata; +using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; #nullable disable diff --git a/src/NadekoBot/Migrations/Mysql/20221003175743_gambling-stats.cs b/src/NadekoBot/Migrations/Mysql/20221003175743_gambling-stats.cs index 1dcdc35a8..7d2c6beca 100644 --- a/src/NadekoBot/Migrations/Mysql/20221003175743_gambling-stats.cs +++ b/src/NadekoBot/Migrations/Mysql/20221003175743_gambling-stats.cs @@ -1,5 +1,4 @@ -using System; -using Microsoft.EntityFrameworkCore.Metadata; +using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; #nullable disable diff --git a/src/NadekoBot/Migrations/Mysql/20240502233216_v5.cs b/src/NadekoBot/Migrations/Mysql/20240502233216_v5.cs index dc07b2ae3..53153a92c 100644 --- a/src/NadekoBot/Migrations/Mysql/20240502233216_v5.cs +++ b/src/NadekoBot/Migrations/Mysql/20240502233216_v5.cs @@ -1,5 +1,4 @@ -using System; -using Microsoft.EntityFrameworkCore.Metadata; +using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; #nullable disable diff --git a/src/NadekoBot/Migrations/Mysql/20240518221440_guidlconfig-cleanup.cs b/src/NadekoBot/Migrations/Mysql/20240518221440_guidlconfig-cleanup.cs index 06c4a144d..d1eb7b46a 100644 --- a/src/NadekoBot/Migrations/Mysql/20240518221440_guidlconfig-cleanup.cs +++ b/src/NadekoBot/Migrations/Mysql/20240518221440_guidlconfig-cleanup.cs @@ -1,5 +1,4 @@ -using System; -using Microsoft.EntityFrameworkCore.Metadata; +using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; #nullable disable diff --git a/src/NadekoBot/Migrations/PostgreSql/20220409170719_mysql-init.cs b/src/NadekoBot/Migrations/PostgreSql/20220409170719_mysql-init.cs index d96bfdfc3..a93777118 100644 --- a/src/NadekoBot/Migrations/PostgreSql/20220409170719_mysql-init.cs +++ b/src/NadekoBot/Migrations/PostgreSql/20220409170719_mysql-init.cs @@ -1,5 +1,4 @@ -using System; -using Microsoft.EntityFrameworkCore.Migrations; +using Microsoft.EntityFrameworkCore.Migrations; using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; #nullable disable diff --git a/src/NadekoBot/Migrations/PostgreSql/20220429044808_bank.cs b/src/NadekoBot/Migrations/PostgreSql/20220429044808_bank.cs index 89a42c8d1..dba272272 100644 --- a/src/NadekoBot/Migrations/PostgreSql/20220429044808_bank.cs +++ b/src/NadekoBot/Migrations/PostgreSql/20220429044808_bank.cs @@ -1,5 +1,4 @@ -using System; -using Microsoft.EntityFrameworkCore.Migrations; +using Microsoft.EntityFrameworkCore.Migrations; using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; #nullable disable diff --git a/src/NadekoBot/Migrations/PostgreSql/20220504162457_new-rero.cs b/src/NadekoBot/Migrations/PostgreSql/20220504162457_new-rero.cs index dda26ab13..3eb9beb80 100644 --- a/src/NadekoBot/Migrations/PostgreSql/20220504162457_new-rero.cs +++ b/src/NadekoBot/Migrations/PostgreSql/20220504162457_new-rero.cs @@ -1,5 +1,4 @@ -using System; -using Microsoft.EntityFrameworkCore.Migrations; +using Microsoft.EntityFrameworkCore.Migrations; using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; #nullable disable diff --git a/src/NadekoBot/Migrations/PostgreSql/20220614071421_patronage-system.cs b/src/NadekoBot/Migrations/PostgreSql/20220614071421_patronage-system.cs index c16ea5b4c..b6cfcbe9c 100644 --- a/src/NadekoBot/Migrations/PostgreSql/20220614071421_patronage-system.cs +++ b/src/NadekoBot/Migrations/PostgreSql/20220614071421_patronage-system.cs @@ -1,5 +1,4 @@ -using System; -using Microsoft.EntityFrameworkCore.Migrations; +using Microsoft.EntityFrameworkCore.Migrations; #nullable disable diff --git a/src/NadekoBot/Migrations/PostgreSql/20220623090729_stondel-db-cache.cs b/src/NadekoBot/Migrations/PostgreSql/20220623090729_stondel-db-cache.cs index 85a3ea497..f259316bf 100644 --- a/src/NadekoBot/Migrations/PostgreSql/20220623090729_stondel-db-cache.cs +++ b/src/NadekoBot/Migrations/PostgreSql/20220623090729_stondel-db-cache.cs @@ -1,5 +1,4 @@ -using System; -using Microsoft.EntityFrameworkCore.Migrations; +using Microsoft.EntityFrameworkCore.Migrations; using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; #nullable disable diff --git a/src/NadekoBot/Migrations/PostgreSql/20220725155941_xpitemshop.cs b/src/NadekoBot/Migrations/PostgreSql/20220725155941_xpitemshop.cs index 2abb83149..68f19d786 100644 --- a/src/NadekoBot/Migrations/PostgreSql/20220725155941_xpitemshop.cs +++ b/src/NadekoBot/Migrations/PostgreSql/20220725155941_xpitemshop.cs @@ -1,5 +1,4 @@ -using System; -using Microsoft.EntityFrameworkCore.Migrations; +using Microsoft.EntityFrameworkCore.Migrations; using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; #nullable disable diff --git a/src/NadekoBot/Migrations/PostgreSql/20220808142559_remove-obsolete-xp-columns.cs b/src/NadekoBot/Migrations/PostgreSql/20220808142559_remove-obsolete-xp-columns.cs index 5b8475221..d9fc309db 100644 --- a/src/NadekoBot/Migrations/PostgreSql/20220808142559_remove-obsolete-xp-columns.cs +++ b/src/NadekoBot/Migrations/PostgreSql/20220808142559_remove-obsolete-xp-columns.cs @@ -1,5 +1,4 @@ -using System; -using Microsoft.EntityFrameworkCore.Migrations; +using Microsoft.EntityFrameworkCore.Migrations; #nullable disable diff --git a/src/NadekoBot/Migrations/PostgreSql/20220916194523_autopub.cs b/src/NadekoBot/Migrations/PostgreSql/20220916194523_autopub.cs index 0db756926..637540fb2 100644 --- a/src/NadekoBot/Migrations/PostgreSql/20220916194523_autopub.cs +++ b/src/NadekoBot/Migrations/PostgreSql/20220916194523_autopub.cs @@ -1,5 +1,4 @@ -using System; -using Microsoft.EntityFrameworkCore.Migrations; +using Microsoft.EntityFrameworkCore.Migrations; using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; #nullable disable diff --git a/src/NadekoBot/Migrations/PostgreSql/20221003175752_gambling-stats.cs b/src/NadekoBot/Migrations/PostgreSql/20221003175752_gambling-stats.cs index 8a18c56d8..3e565d273 100644 --- a/src/NadekoBot/Migrations/PostgreSql/20221003175752_gambling-stats.cs +++ b/src/NadekoBot/Migrations/PostgreSql/20221003175752_gambling-stats.cs @@ -1,5 +1,4 @@ -using System; -using Microsoft.EntityFrameworkCore.Migrations; +using Microsoft.EntityFrameworkCore.Migrations; using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; #nullable disable diff --git a/src/NadekoBot/Migrations/PostgreSql/20240502233202_v5.cs b/src/NadekoBot/Migrations/PostgreSql/20240502233202_v5.cs index c7aa75203..0963fce8c 100644 --- a/src/NadekoBot/Migrations/PostgreSql/20240502233202_v5.cs +++ b/src/NadekoBot/Migrations/PostgreSql/20240502233202_v5.cs @@ -1,5 +1,4 @@ -using System; -using Microsoft.EntityFrameworkCore.Migrations; +using Microsoft.EntityFrameworkCore.Migrations; using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; #nullable disable diff --git a/src/NadekoBot/Migrations/PostgreSql/20240518221432_guidlconfig-cleanup.cs b/src/NadekoBot/Migrations/PostgreSql/20240518221432_guidlconfig-cleanup.cs index 87d6e74a0..b01a7271d 100644 --- a/src/NadekoBot/Migrations/PostgreSql/20240518221432_guidlconfig-cleanup.cs +++ b/src/NadekoBot/Migrations/PostgreSql/20240518221432_guidlconfig-cleanup.cs @@ -1,5 +1,4 @@ -using System; -using Microsoft.EntityFrameworkCore.Migrations; +using Microsoft.EntityFrameworkCore.Migrations; using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; #nullable disable diff --git a/src/NadekoBot/Migrations/Sqlite/20210621042359_squash.cs b/src/NadekoBot/Migrations/Sqlite/20210621042359_squash.cs index 54d5f8cd5..480028ca0 100644 --- a/src/NadekoBot/Migrations/Sqlite/20210621042359_squash.cs +++ b/src/NadekoBot/Migrations/Sqlite/20210621042359_squash.cs @@ -1,5 +1,4 @@ -using System; -using Microsoft.EntityFrameworkCore.Migrations; +using Microsoft.EntityFrameworkCore.Migrations; namespace NadekoBot.Migrations { diff --git a/src/NadekoBot/Migrations/Sqlite/20210707002343_cleanup.cs b/src/NadekoBot/Migrations/Sqlite/20210707002343_cleanup.cs index 9196a4bd1..0dfb38293 100644 --- a/src/NadekoBot/Migrations/Sqlite/20210707002343_cleanup.cs +++ b/src/NadekoBot/Migrations/Sqlite/20210707002343_cleanup.cs @@ -1,5 +1,4 @@ -using System; -using Microsoft.EntityFrameworkCore.Migrations; +using Microsoft.EntityFrameworkCore.Migrations; namespace NadekoBot.Migrations { diff --git a/src/NadekoBot/Migrations/Sqlite/20210914180026_image-only-channels.cs b/src/NadekoBot/Migrations/Sqlite/20210914180026_image-only-channels.cs index bf1cd0bc0..79a4da8b3 100644 --- a/src/NadekoBot/Migrations/Sqlite/20210914180026_image-only-channels.cs +++ b/src/NadekoBot/Migrations/Sqlite/20210914180026_image-only-channels.cs @@ -1,5 +1,4 @@ -using System; -using Microsoft.EntityFrameworkCore.Migrations; +using Microsoft.EntityFrameworkCore.Migrations; namespace NadekoBot.Migrations { diff --git a/src/NadekoBot/Migrations/Sqlite/20211015232708_nsfw-blacklist-tags.cs b/src/NadekoBot/Migrations/Sqlite/20211015232708_nsfw-blacklist-tags.cs index 1cf2c246e..80f91c6be 100644 --- a/src/NadekoBot/Migrations/Sqlite/20211015232708_nsfw-blacklist-tags.cs +++ b/src/NadekoBot/Migrations/Sqlite/20211015232708_nsfw-blacklist-tags.cs @@ -1,5 +1,4 @@ -using System; -using Microsoft.EntityFrameworkCore.Migrations; +using Microsoft.EntityFrameworkCore.Migrations; namespace NadekoBot.Migrations { diff --git a/src/NadekoBot/Migrations/Sqlite/20211213145407_atl-rework.cs b/src/NadekoBot/Migrations/Sqlite/20211213145407_atl-rework.cs index b1aba1b0e..51e57d2bc 100644 --- a/src/NadekoBot/Migrations/Sqlite/20211213145407_atl-rework.cs +++ b/src/NadekoBot/Migrations/Sqlite/20211213145407_atl-rework.cs @@ -1,5 +1,4 @@ -using System; -using Microsoft.EntityFrameworkCore.Migrations; +using Microsoft.EntityFrameworkCore.Migrations; namespace NadekoBot.Migrations { diff --git a/src/NadekoBot/Migrations/Sqlite/20220110105942_filter-settings-cleanup.cs b/src/NadekoBot/Migrations/Sqlite/20220110105942_filter-settings-cleanup.cs index 380f1e449..20ac5fd41 100644 --- a/src/NadekoBot/Migrations/Sqlite/20220110105942_filter-settings-cleanup.cs +++ b/src/NadekoBot/Migrations/Sqlite/20220110105942_filter-settings-cleanup.cs @@ -1,5 +1,4 @@ -using System; -using Microsoft.EntityFrameworkCore.Migrations; +using Microsoft.EntityFrameworkCore.Migrations; #nullable disable diff --git a/src/NadekoBot/Migrations/Sqlite/20220409170828_clubs-refactor.cs b/src/NadekoBot/Migrations/Sqlite/20220409170828_clubs-refactor.cs index d4a43fbcf..698fec156 100644 --- a/src/NadekoBot/Migrations/Sqlite/20220409170828_clubs-refactor.cs +++ b/src/NadekoBot/Migrations/Sqlite/20220409170828_clubs-refactor.cs @@ -1,5 +1,4 @@ -using System; -using Microsoft.EntityFrameworkCore.Migrations; +using Microsoft.EntityFrameworkCore.Migrations; #nullable disable diff --git a/src/NadekoBot/Migrations/Sqlite/20220428051304_bank.cs b/src/NadekoBot/Migrations/Sqlite/20220428051304_bank.cs index bae81ec7b..a002407d6 100644 --- a/src/NadekoBot/Migrations/Sqlite/20220428051304_bank.cs +++ b/src/NadekoBot/Migrations/Sqlite/20220428051304_bank.cs @@ -1,5 +1,4 @@ -using System; -using Microsoft.EntityFrameworkCore.Migrations; +using Microsoft.EntityFrameworkCore.Migrations; #nullable disable diff --git a/src/NadekoBot/Migrations/Sqlite/20220503234243_new-rero.cs b/src/NadekoBot/Migrations/Sqlite/20220503234243_new-rero.cs index 9a1976765..f59d52c1a 100644 --- a/src/NadekoBot/Migrations/Sqlite/20220503234243_new-rero.cs +++ b/src/NadekoBot/Migrations/Sqlite/20220503234243_new-rero.cs @@ -1,5 +1,4 @@ -using System; -using Microsoft.EntityFrameworkCore.Migrations; +using Microsoft.EntityFrameworkCore.Migrations; #nullable disable diff --git a/src/NadekoBot/Migrations/Sqlite/20220614071359_patronage-system.cs b/src/NadekoBot/Migrations/Sqlite/20220614071359_patronage-system.cs index 0618bc44f..4ee3abfe1 100644 --- a/src/NadekoBot/Migrations/Sqlite/20220614071359_patronage-system.cs +++ b/src/NadekoBot/Migrations/Sqlite/20220614071359_patronage-system.cs @@ -1,5 +1,4 @@ -using System; -using Microsoft.EntityFrameworkCore.Migrations; +using Microsoft.EntityFrameworkCore.Migrations; #nullable disable diff --git a/src/NadekoBot/Migrations/Sqlite/20220623073903_stondel-db-cache.cs b/src/NadekoBot/Migrations/Sqlite/20220623073903_stondel-db-cache.cs index 10f477e02..4872eb004 100644 --- a/src/NadekoBot/Migrations/Sqlite/20220623073903_stondel-db-cache.cs +++ b/src/NadekoBot/Migrations/Sqlite/20220623073903_stondel-db-cache.cs @@ -1,5 +1,4 @@ -using System; -using Microsoft.EntityFrameworkCore.Migrations; +using Microsoft.EntityFrameworkCore.Migrations; #nullable disable diff --git a/src/NadekoBot/Migrations/Sqlite/20220725112348_xpitemshop.cs b/src/NadekoBot/Migrations/Sqlite/20220725112348_xpitemshop.cs index a6dac3bc7..898583fc6 100644 --- a/src/NadekoBot/Migrations/Sqlite/20220725112348_xpitemshop.cs +++ b/src/NadekoBot/Migrations/Sqlite/20220725112348_xpitemshop.cs @@ -1,5 +1,4 @@ -using System; -using Microsoft.EntityFrameworkCore.Migrations; +using Microsoft.EntityFrameworkCore.Migrations; #nullable disable diff --git a/src/NadekoBot/Migrations/Sqlite/20220808141842_remove-obsolete-xp-columns.cs b/src/NadekoBot/Migrations/Sqlite/20220808141842_remove-obsolete-xp-columns.cs index 1a50aee65..4c6b7c4fc 100644 --- a/src/NadekoBot/Migrations/Sqlite/20220808141842_remove-obsolete-xp-columns.cs +++ b/src/NadekoBot/Migrations/Sqlite/20220808141842_remove-obsolete-xp-columns.cs @@ -1,5 +1,4 @@ -using System; -using Microsoft.EntityFrameworkCore.Migrations; +using Microsoft.EntityFrameworkCore.Migrations; #nullable disable diff --git a/src/NadekoBot/Migrations/Sqlite/20220916191702_autopub.cs b/src/NadekoBot/Migrations/Sqlite/20220916191702_autopub.cs index 11f7eba80..4f9d26220 100644 --- a/src/NadekoBot/Migrations/Sqlite/20220916191702_autopub.cs +++ b/src/NadekoBot/Migrations/Sqlite/20220916191702_autopub.cs @@ -1,5 +1,4 @@ -using System; -using Microsoft.EntityFrameworkCore.Migrations; +using Microsoft.EntityFrameworkCore.Migrations; #nullable disable diff --git a/src/NadekoBot/Migrations/Sqlite/20221003111019_gambling-stats.cs b/src/NadekoBot/Migrations/Sqlite/20221003111019_gambling-stats.cs index 4481db082..e8c846af9 100644 --- a/src/NadekoBot/Migrations/Sqlite/20221003111019_gambling-stats.cs +++ b/src/NadekoBot/Migrations/Sqlite/20221003111019_gambling-stats.cs @@ -1,5 +1,4 @@ -using System; -using Microsoft.EntityFrameworkCore.Migrations; +using Microsoft.EntityFrameworkCore.Migrations; #nullable disable diff --git a/src/NadekoBot/Migrations/Sqlite/20240502233144_v5.cs b/src/NadekoBot/Migrations/Sqlite/20240502233144_v5.cs index 9636e0bd4..3e6d5c27c 100644 --- a/src/NadekoBot/Migrations/Sqlite/20240502233144_v5.cs +++ b/src/NadekoBot/Migrations/Sqlite/20240502233144_v5.cs @@ -1,5 +1,4 @@ -using System; -using Microsoft.EntityFrameworkCore.Migrations; +using Microsoft.EntityFrameworkCore.Migrations; #nullable disable diff --git a/src/NadekoBot/Migrations/Sqlite/20240518221424_guidlconfig-cleanup.cs b/src/NadekoBot/Migrations/Sqlite/20240518221424_guidlconfig-cleanup.cs index 3a2ec2c27..62ef2cd83 100644 --- a/src/NadekoBot/Migrations/Sqlite/20240518221424_guidlconfig-cleanup.cs +++ b/src/NadekoBot/Migrations/Sqlite/20240518221424_guidlconfig-cleanup.cs @@ -1,5 +1,4 @@ -using System; -using Microsoft.EntityFrameworkCore.Migrations; +using Microsoft.EntityFrameworkCore.Migrations; #nullable disable diff --git a/src/NadekoBot/Modules/Administration/AdministrationService.cs b/src/NadekoBot/Modules/Administration/AdministrationService.cs index 6bd81721b..2cf4165b1 100644 --- a/src/NadekoBot/Modules/Administration/AdministrationService.cs +++ b/src/NadekoBot/Modules/Administration/AdministrationService.cs @@ -1,6 +1,5 @@ #nullable disable using Microsoft.EntityFrameworkCore; -using NadekoBot.Db; using NadekoBot.Db.Models; using NadekoBot.Modules.Administration._common.results; diff --git a/src/NadekoBot/Modules/Administration/AutoAssignableRoles/AutoAssignRoleService.cs b/src/NadekoBot/Modules/Administration/AutoAssignableRoles/AutoAssignRoleService.cs index f0000fb6f..e81ad3655 100644 --- a/src/NadekoBot/Modules/Administration/AutoAssignableRoles/AutoAssignRoleService.cs +++ b/src/NadekoBot/Modules/Administration/AutoAssignableRoles/AutoAssignRoleService.cs @@ -4,7 +4,6 @@ using System.Net; using System.Threading.Channels; using LinqToDB; using Microsoft.EntityFrameworkCore; -using NadekoBot.Db; namespace NadekoBot.Modules.Administration.Services; diff --git a/src/NadekoBot/Modules/Administration/GameVoiceChannel/GameVoiceChannelService.cs b/src/NadekoBot/Modules/Administration/GameVoiceChannel/GameVoiceChannelService.cs index d77d63e83..c4167e5c0 100644 --- a/src/NadekoBot/Modules/Administration/GameVoiceChannel/GameVoiceChannelService.cs +++ b/src/NadekoBot/Modules/Administration/GameVoiceChannel/GameVoiceChannelService.cs @@ -1,6 +1,4 @@ #nullable disable -using NadekoBot.Db; - namespace NadekoBot.Modules.Administration.Services; public class GameVoiceChannelService : INService diff --git a/src/NadekoBot/Modules/Administration/GreetBye/GreetService.cs b/src/NadekoBot/Modules/Administration/GreetBye/GreetService.cs index bb39e5c1a..bd835c019 100644 --- a/src/NadekoBot/Modules/Administration/GreetBye/GreetService.cs +++ b/src/NadekoBot/Modules/Administration/GreetBye/GreetService.cs @@ -1,5 +1,4 @@ using NadekoBot.Common.ModuleBehaviors; -using NadekoBot.Db; using NadekoBot.Db.Models; using System.Threading.Channels; diff --git a/src/NadekoBot/Modules/Administration/Mute/MuteService.cs b/src/NadekoBot/Modules/Administration/Mute/MuteService.cs index 45640067f..4371d6fb3 100644 --- a/src/NadekoBot/Modules/Administration/Mute/MuteService.cs +++ b/src/NadekoBot/Modules/Administration/Mute/MuteService.cs @@ -1,6 +1,5 @@ #nullable disable using Microsoft.EntityFrameworkCore; -using NadekoBot.Db; using NadekoBot.Db.Models; namespace NadekoBot.Modules.Administration.Services; diff --git a/src/NadekoBot/Modules/Administration/Protection/ProtectionService.cs b/src/NadekoBot/Modules/Administration/Protection/ProtectionService.cs index 51c9d3d50..457e28091 100644 --- a/src/NadekoBot/Modules/Administration/Protection/ProtectionService.cs +++ b/src/NadekoBot/Modules/Administration/Protection/ProtectionService.cs @@ -1,6 +1,5 @@ #nullable disable using Microsoft.EntityFrameworkCore; -using NadekoBot.Db; using NadekoBot.Db.Models; using System.Threading.Channels; diff --git a/src/NadekoBot/Modules/Administration/Role/IReactionRoleService.cs b/src/NadekoBot/Modules/Administration/Role/IReactionRoleService.cs index c2d8f242a..ff0337cca 100644 --- a/src/NadekoBot/Modules/Administration/Role/IReactionRoleService.cs +++ b/src/NadekoBot/Modules/Administration/Role/IReactionRoleService.cs @@ -1,5 +1,4 @@ #nullable disable -using NadekoBot.Modules.Patronage; using NadekoBot.Db.Models; using OneOf; using OneOf.Types; diff --git a/src/NadekoBot/Modules/Administration/Role/ReactionRolesService.cs b/src/NadekoBot/Modules/Administration/Role/ReactionRolesService.cs index 39e476354..e26c30b64 100644 --- a/src/NadekoBot/Modules/Administration/Role/ReactionRolesService.cs +++ b/src/NadekoBot/Modules/Administration/Role/ReactionRolesService.cs @@ -2,7 +2,6 @@ using LinqToDB; using LinqToDB.EntityFrameworkCore; using NadekoBot.Common.ModuleBehaviors; -using NadekoBot.Db; using NadekoBot.Modules.Patronage; using NadekoBot.Db.Models; using OneOf.Types; diff --git a/src/NadekoBot/Modules/Administration/Role/StickyRolesService.cs b/src/NadekoBot/Modules/Administration/Role/StickyRolesService.cs index ed619fa68..aa12fc451 100644 --- a/src/NadekoBot/Modules/Administration/Role/StickyRolesService.cs +++ b/src/NadekoBot/Modules/Administration/Role/StickyRolesService.cs @@ -3,7 +3,6 @@ using LinqToDB; using LinqToDB.EntityFrameworkCore; using NadekoBot.Db.Models; using NadekoBot.Common.ModuleBehaviors; -using NadekoBot.Db; namespace NadekoBot.Modules.Administration; diff --git a/src/NadekoBot/Modules/Administration/SelfAssignableRoles/SelfAssignedRolesService.cs b/src/NadekoBot/Modules/Administration/SelfAssignableRoles/SelfAssignedRolesService.cs index f9145f433..c323fe293 100644 --- a/src/NadekoBot/Modules/Administration/SelfAssignableRoles/SelfAssignedRolesService.cs +++ b/src/NadekoBot/Modules/Administration/SelfAssignableRoles/SelfAssignedRolesService.cs @@ -1,6 +1,5 @@ #nullable disable using Microsoft.EntityFrameworkCore; -using NadekoBot.Db; using NadekoBot.Db.Models; namespace NadekoBot.Modules.Administration.Services; diff --git a/src/NadekoBot/Modules/Administration/ServerLog/ServerLogCommandService.cs b/src/NadekoBot/Modules/Administration/ServerLog/ServerLogCommandService.cs index d09d0e18d..92826612c 100644 --- a/src/NadekoBot/Modules/Administration/ServerLog/ServerLogCommandService.cs +++ b/src/NadekoBot/Modules/Administration/ServerLog/ServerLogCommandService.cs @@ -1,7 +1,6 @@ using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Caching.Memory; using NadekoBot.Common.ModuleBehaviors; -using NadekoBot.Db; using NadekoBot.Modules.Administration.Services; using NadekoBot.Db.Models; diff --git a/src/NadekoBot/Modules/Administration/Timezone/GuildTimezoneService.cs b/src/NadekoBot/Modules/Administration/Timezone/GuildTimezoneService.cs index ea6e9d3e4..0c60009ce 100644 --- a/src/NadekoBot/Modules/Administration/Timezone/GuildTimezoneService.cs +++ b/src/NadekoBot/Modules/Administration/Timezone/GuildTimezoneService.cs @@ -1,5 +1,4 @@ #nullable disable -using NadekoBot.Db; using NadekoBot.Db.Models; using NadekoBot.Common.ModuleBehaviors; diff --git a/src/NadekoBot/Modules/Administration/UserPunish/UserPunishService.cs b/src/NadekoBot/Modules/Administration/UserPunish/UserPunishService.cs index e2fb7a821..bb5960a52 100644 --- a/src/NadekoBot/Modules/Administration/UserPunish/UserPunishService.cs +++ b/src/NadekoBot/Modules/Administration/UserPunish/UserPunishService.cs @@ -4,7 +4,6 @@ using LinqToDB.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using NadekoBot.Common.ModuleBehaviors; using NadekoBot.Common.TypeReaders.Models; -using NadekoBot.Db; using NadekoBot.Modules.Permissions.Services; using NadekoBot.Db.Models; using Newtonsoft.Json; diff --git a/src/NadekoBot/Modules/Administration/VcRole/VcRoleService.cs b/src/NadekoBot/Modules/Administration/VcRole/VcRoleService.cs index 4ae1855c0..b9aaeca3f 100644 --- a/src/NadekoBot/Modules/Administration/VcRole/VcRoleService.cs +++ b/src/NadekoBot/Modules/Administration/VcRole/VcRoleService.cs @@ -1,6 +1,5 @@ #nullable disable using Microsoft.EntityFrameworkCore; -using NadekoBot.Db; using NadekoBot.Db.Models; namespace NadekoBot.Modules.Administration.Services; diff --git a/src/NadekoBot/Modules/Expressions/NadekoExpressionsService.cs b/src/NadekoBot/Modules/Expressions/NadekoExpressionsService.cs index 77a73dd1e..2c4fdf64d 100644 --- a/src/NadekoBot/Modules/Expressions/NadekoExpressionsService.cs +++ b/src/NadekoBot/Modules/Expressions/NadekoExpressionsService.cs @@ -2,7 +2,6 @@ using Microsoft.EntityFrameworkCore; using NadekoBot.Common.ModuleBehaviors; using NadekoBot.Common.Yml; -using NadekoBot.Db; using NadekoBot.Db.Models; using System.Runtime.CompilerServices; using LinqToDB.EntityFrameworkCore; diff --git a/src/NadekoBot/Modules/Gambling/BlackJack/BlackJackCommands.cs b/src/NadekoBot/Modules/Gambling/BlackJack/BlackJackCommands.cs index 4ad1585d6..22687eac4 100644 --- a/src/NadekoBot/Modules/Gambling/BlackJack/BlackJackCommands.cs +++ b/src/NadekoBot/Modules/Gambling/BlackJack/BlackJackCommands.cs @@ -3,7 +3,6 @@ using NadekoBot.Common.TypeReaders; using NadekoBot.Modules.Gambling.Common; using NadekoBot.Modules.Gambling.Common.Blackjack; using NadekoBot.Modules.Gambling.Services; -using NadekoBot.Modules.Utility; namespace NadekoBot.Modules.Gambling; diff --git a/src/NadekoBot/Modules/Gambling/Gambling.cs b/src/NadekoBot/Modules/Gambling/Gambling.cs index f654b40a9..f0f158451 100644 --- a/src/NadekoBot/Modules/Gambling/Gambling.cs +++ b/src/NadekoBot/Modules/Gambling/Gambling.cs @@ -13,7 +13,6 @@ using System.Text; using NadekoBot.Modules.Gambling.Rps; using NadekoBot.Common.TypeReaders; using NadekoBot.Modules.Patronage; -using NadekoBot.Modules.Utility; namespace NadekoBot.Modules.Gambling; diff --git a/src/NadekoBot/Modules/Gambling/GamblingService.cs b/src/NadekoBot/Modules/Gambling/GamblingService.cs index 07aba395e..1850917ef 100644 --- a/src/NadekoBot/Modules/Gambling/GamblingService.cs +++ b/src/NadekoBot/Modules/Gambling/GamblingService.cs @@ -2,7 +2,6 @@ using LinqToDB; using LinqToDB.EntityFrameworkCore; using NadekoBot.Common.ModuleBehaviors; -using NadekoBot.Db; using NadekoBot.Db.Models; using NadekoBot.Modules.Gambling.Common; using NadekoBot.Modules.Gambling.Common.Connect4; diff --git a/src/NadekoBot/Modules/Gambling/PlantPick/PlantPickService.cs b/src/NadekoBot/Modules/Gambling/PlantPick/PlantPickService.cs index f91ee69eb..e0c580f62 100644 --- a/src/NadekoBot/Modules/Gambling/PlantPick/PlantPickService.cs +++ b/src/NadekoBot/Modules/Gambling/PlantPick/PlantPickService.cs @@ -1,7 +1,6 @@ #nullable disable using Microsoft.EntityFrameworkCore; using NadekoBot.Common.ModuleBehaviors; -using NadekoBot.Db; using NadekoBot.Db.Models; using SixLabors.Fonts; using SixLabors.ImageSharp; diff --git a/src/NadekoBot/Modules/Gambling/Shop/ShopCommands.cs b/src/NadekoBot/Modules/Gambling/Shop/ShopCommands.cs index ef7534df8..feb745a75 100644 --- a/src/NadekoBot/Modules/Gambling/Shop/ShopCommands.cs +++ b/src/NadekoBot/Modules/Gambling/Shop/ShopCommands.cs @@ -1,6 +1,5 @@ #nullable disable using Microsoft.EntityFrameworkCore; -using NadekoBot.Db; using NadekoBot.Modules.Gambling.Common; using NadekoBot.Modules.Gambling.Services; using NadekoBot.Db.Models; diff --git a/src/NadekoBot/Modules/Gambling/Shop/ShopService.cs b/src/NadekoBot/Modules/Gambling/Shop/ShopService.cs index 029c7f1fe..ff9bdd8ef 100644 --- a/src/NadekoBot/Modules/Gambling/Shop/ShopService.cs +++ b/src/NadekoBot/Modules/Gambling/Shop/ShopService.cs @@ -1,6 +1,5 @@ #nullable disable using Microsoft.EntityFrameworkCore; -using NadekoBot.Db; using NadekoBot.Db.Models; namespace NadekoBot.Modules.Gambling.Services; diff --git a/src/NadekoBot/Modules/Gambling/Slot/SlotCommands.cs b/src/NadekoBot/Modules/Gambling/Slot/SlotCommands.cs index 5174a4913..ad4b7022c 100644 --- a/src/NadekoBot/Modules/Gambling/Slot/SlotCommands.cs +++ b/src/NadekoBot/Modules/Gambling/Slot/SlotCommands.cs @@ -7,9 +7,7 @@ using SixLabors.ImageSharp; using SixLabors.ImageSharp.Drawing.Processing; using SixLabors.ImageSharp.PixelFormats; using SixLabors.ImageSharp.Processing; -using NadekoBot.Modules.Gambling; using NadekoBot.Common.TypeReaders; -using NadekoBot.Modules.Utility; using Color = SixLabors.ImageSharp.Color; using Image = SixLabors.ImageSharp.Image; diff --git a/src/NadekoBot/Modules/Gambling/Waifus/WaifuClaimCommands.cs b/src/NadekoBot/Modules/Gambling/Waifus/WaifuClaimCommands.cs index 5b20d4c0f..f5597d400 100644 --- a/src/NadekoBot/Modules/Gambling/Waifus/WaifuClaimCommands.cs +++ b/src/NadekoBot/Modules/Gambling/Waifus/WaifuClaimCommands.cs @@ -3,7 +3,6 @@ using NadekoBot.Modules.Gambling.Common; using NadekoBot.Modules.Gambling.Common.Waifu; using NadekoBot.Modules.Gambling.Services; using NadekoBot.Db.Models; -using TwitchLib.Api.Helix.Models.Teams; namespace NadekoBot.Modules.Gambling; diff --git a/src/NadekoBot/Modules/Gambling/Waifus/WaifuService.cs b/src/NadekoBot/Modules/Gambling/Waifus/WaifuService.cs index 62d4e8ae9..a659e2296 100644 --- a/src/NadekoBot/Modules/Gambling/Waifus/WaifuService.cs +++ b/src/NadekoBot/Modules/Gambling/Waifus/WaifuService.cs @@ -3,11 +3,9 @@ using LinqToDB; using LinqToDB.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using NadekoBot.Common.ModuleBehaviors; -using NadekoBot.Db; using NadekoBot.Db.Models; using NadekoBot.Modules.Gambling.Common; using NadekoBot.Modules.Gambling.Common.Waifu; -using SixLabors.ImageSharp; namespace NadekoBot.Modules.Gambling.Services; diff --git a/src/NadekoBot/Modules/Gambling/_common/IGamblingService.cs b/src/NadekoBot/Modules/Gambling/_common/IGamblingService.cs index 073a11a08..281f63601 100644 --- a/src/NadekoBot/Modules/Gambling/_common/IGamblingService.cs +++ b/src/NadekoBot/Modules/Gambling/_common/IGamblingService.cs @@ -1,5 +1,4 @@ #nullable disable -using NadekoBot.Modules.Gambling; using NadekoBot.Modules.Gambling.Betdraw; using NadekoBot.Modules.Gambling.Rps; using OneOf; diff --git a/src/NadekoBot/Modules/Gambling/_common/NewGamblingService.cs b/src/NadekoBot/Modules/Gambling/_common/NewGamblingService.cs index 0b7d92476..104150a4c 100644 --- a/src/NadekoBot/Modules/Gambling/_common/NewGamblingService.cs +++ b/src/NadekoBot/Modules/Gambling/_common/NewGamblingService.cs @@ -1,5 +1,4 @@ #nullable disable -using NadekoBot.Modules.Gambling; using NadekoBot.Modules.Gambling.Betdraw; using NadekoBot.Modules.Gambling.Rps; using NadekoBot.Modules.Gambling.Services; diff --git a/src/NadekoBot/Modules/Gambling/_common/TypeReaders/BaseShmartInputAmountReader.cs b/src/NadekoBot/Modules/Gambling/_common/TypeReaders/BaseShmartInputAmountReader.cs index f6beb1c7b..d1a0ea5c6 100644 --- a/src/NadekoBot/Modules/Gambling/_common/TypeReaders/BaseShmartInputAmountReader.cs +++ b/src/NadekoBot/Modules/Gambling/_common/TypeReaders/BaseShmartInputAmountReader.cs @@ -1,5 +1,4 @@ using System.Text.RegularExpressions; -using NadekoBot.Db; using NadekoBot.Db.Models; using NadekoBot.Modules.Gambling.Services; using NCalc; diff --git a/src/NadekoBot/Modules/Games/ChatterBot/ChatterBotCommands.cs b/src/NadekoBot/Modules/Games/ChatterBot/ChatterBotCommands.cs index 176a9887c..b0e99b484 100644 --- a/src/NadekoBot/Modules/Games/ChatterBot/ChatterBotCommands.cs +++ b/src/NadekoBot/Modules/Games/ChatterBot/ChatterBotCommands.cs @@ -1,7 +1,5 @@ #nullable disable -using NadekoBot.Db; using NadekoBot.Modules.Games.Services; -using NadekoBot.Db.Models; namespace NadekoBot.Modules.Games; diff --git a/src/NadekoBot/Modules/Games/ChatterBot/_common/ThinkResult.cs b/src/NadekoBot/Modules/Games/ChatterBot/_common/ThinkResult.cs index e4402860a..a9849f440 100644 --- a/src/NadekoBot/Modules/Games/ChatterBot/_common/ThinkResult.cs +++ b/src/NadekoBot/Modules/Games/ChatterBot/_common/ThinkResult.cs @@ -1,6 +1,4 @@ #nullable disable -using System.CodeDom; - namespace NadekoBot.Modules.Games.Common.ChatterBot; public sealed class ThinkResult diff --git a/src/NadekoBot/Modules/Music/Music.cs b/src/NadekoBot/Modules/Music/Music.cs index 2a1f8d467..be182bca0 100644 --- a/src/NadekoBot/Modules/Music/Music.cs +++ b/src/NadekoBot/Modules/Music/Music.cs @@ -1,7 +1,6 @@ #nullable disable using NadekoBot.Modules.Music.Services; using NadekoBot.Db.Models; -using NadekoBot.Modules.Utility; namespace NadekoBot.Modules.Music; diff --git a/src/NadekoBot/Modules/Music/PlaylistCommands.cs b/src/NadekoBot/Modules/Music/PlaylistCommands.cs index 691062c37..84d577043 100644 --- a/src/NadekoBot/Modules/Music/PlaylistCommands.cs +++ b/src/NadekoBot/Modules/Music/PlaylistCommands.cs @@ -1,6 +1,5 @@ #nullable disable using LinqToDB; -using NadekoBot.Db; using NadekoBot.Modules.Music.Services; using NadekoBot.Db.Models; diff --git a/src/NadekoBot/Modules/Music/Services/MusicService.cs b/src/NadekoBot/Modules/Music/Services/MusicService.cs index 73c813664..242a12829 100644 --- a/src/NadekoBot/Modules/Music/Services/MusicService.cs +++ b/src/NadekoBot/Modules/Music/Services/MusicService.cs @@ -1,5 +1,4 @@ -using NadekoBot.Db; -using NadekoBot.Db.Models; +using NadekoBot.Db.Models; using System.Diagnostics.CodeAnalysis; namespace NadekoBot.Modules.Music.Services; diff --git a/src/NadekoBot/Modules/Patronage/PatronageService.cs b/src/NadekoBot/Modules/Patronage/PatronageService.cs index 26449b4d6..d676bd9f7 100644 --- a/src/NadekoBot/Modules/Patronage/PatronageService.cs +++ b/src/NadekoBot/Modules/Patronage/PatronageService.cs @@ -2,8 +2,6 @@ using LinqToDB.EntityFrameworkCore; using NadekoBot.Common.ModuleBehaviors; using NadekoBot.Db.Models; -using StackExchange.Redis; -using System.Diagnostics; namespace NadekoBot.Modules.Patronage; diff --git a/src/NadekoBot/Modules/Permissions/CommandCooldown/CmdCdService.cs b/src/NadekoBot/Modules/Permissions/CommandCooldown/CmdCdService.cs index 1474cc4a1..d264ee3bc 100644 --- a/src/NadekoBot/Modules/Permissions/CommandCooldown/CmdCdService.cs +++ b/src/NadekoBot/Modules/Permissions/CommandCooldown/CmdCdService.cs @@ -1,6 +1,5 @@ using Microsoft.EntityFrameworkCore; using NadekoBot.Common.ModuleBehaviors; -using NadekoBot.Db; namespace NadekoBot.Modules.Permissions.Services; diff --git a/src/NadekoBot/Modules/Permissions/CommandCooldown/CmdCdsCommands.cs b/src/NadekoBot/Modules/Permissions/CommandCooldown/CmdCdsCommands.cs index c04caf472..40cd7494a 100644 --- a/src/NadekoBot/Modules/Permissions/CommandCooldown/CmdCdsCommands.cs +++ b/src/NadekoBot/Modules/Permissions/CommandCooldown/CmdCdsCommands.cs @@ -1,7 +1,6 @@ #nullable disable using Microsoft.EntityFrameworkCore; using NadekoBot.Common.TypeReaders; -using NadekoBot.Db; using NadekoBot.Modules.Permissions.Services; using NadekoBot.Db.Models; diff --git a/src/NadekoBot/Modules/Permissions/Filter/FilterCommands.cs b/src/NadekoBot/Modules/Permissions/Filter/FilterCommands.cs index 83f6d1f8c..dc4ce22d5 100644 --- a/src/NadekoBot/Modules/Permissions/Filter/FilterCommands.cs +++ b/src/NadekoBot/Modules/Permissions/Filter/FilterCommands.cs @@ -1,6 +1,5 @@ #nullable disable using Microsoft.EntityFrameworkCore; -using NadekoBot.Db; using NadekoBot.Modules.Permissions.Services; using NadekoBot.Db.Models; diff --git a/src/NadekoBot/Modules/Permissions/Filter/FilterService.cs b/src/NadekoBot/Modules/Permissions/Filter/FilterService.cs index b7c581d09..b1c70e1fd 100644 --- a/src/NadekoBot/Modules/Permissions/Filter/FilterService.cs +++ b/src/NadekoBot/Modules/Permissions/Filter/FilterService.cs @@ -1,7 +1,6 @@ #nullable disable using Microsoft.EntityFrameworkCore; using NadekoBot.Common.ModuleBehaviors; -using NadekoBot.Db; using NadekoBot.Db.Models; namespace NadekoBot.Modules.Permissions.Services; diff --git a/src/NadekoBot/Modules/Permissions/Permissions.cs b/src/NadekoBot/Modules/Permissions/Permissions.cs index 63c2efefc..2b2dc475d 100644 --- a/src/NadekoBot/Modules/Permissions/Permissions.cs +++ b/src/NadekoBot/Modules/Permissions/Permissions.cs @@ -1,7 +1,6 @@ #nullable disable using NadekoBot.Common.TypeReaders; using NadekoBot.Common.TypeReaders.Models; -using NadekoBot.Db; using NadekoBot.Modules.Permissions.Common; using NadekoBot.Modules.Permissions.Services; using NadekoBot.Db.Models; diff --git a/src/NadekoBot/Modules/Permissions/PermissionsService.cs b/src/NadekoBot/Modules/Permissions/PermissionsService.cs index b73197aa3..7ab403fb6 100644 --- a/src/NadekoBot/Modules/Permissions/PermissionsService.cs +++ b/src/NadekoBot/Modules/Permissions/PermissionsService.cs @@ -1,7 +1,6 @@ #nullable disable using Microsoft.EntityFrameworkCore; using NadekoBot.Common.ModuleBehaviors; -using NadekoBot.Db; using NadekoBot.Modules.Permissions.Common; using NadekoBot.Db.Models; diff --git a/src/NadekoBot/Modules/Searches/Crypto/CryptoService.cs b/src/NadekoBot/Modules/Searches/Crypto/CryptoService.cs index e8af28ddf..1ed5a4604 100644 --- a/src/NadekoBot/Modules/Searches/Crypto/CryptoService.cs +++ b/src/NadekoBot/Modules/Searches/Crypto/CryptoService.cs @@ -4,13 +4,11 @@ using SixLabors.ImageSharp; using SixLabors.ImageSharp.Drawing.Processing; using SixLabors.ImageSharp.PixelFormats; using SixLabors.ImageSharp.Processing; -using System.Collections.ObjectModel; using System.Globalization; using System.Net.Http.Json; using System.Text.Json.Serialization; using System.Xml; using Color = SixLabors.ImageSharp.Color; -using StringExtensions = NadekoBot.Extensions.StringExtensions; namespace NadekoBot.Modules.Searches.Services; diff --git a/src/NadekoBot/Modules/Searches/Crypto/DefaultStockDataService.cs b/src/NadekoBot/Modules/Searches/Crypto/DefaultStockDataService.cs index 779a5a10c..ff948f295 100644 --- a/src/NadekoBot/Modules/Searches/Crypto/DefaultStockDataService.cs +++ b/src/NadekoBot/Modules/Searches/Crypto/DefaultStockDataService.cs @@ -1,7 +1,6 @@ using AngleSharp; using CsvHelper; using CsvHelper.Configuration; -using System.Diagnostics; using System.Globalization; using System.Text.Json; diff --git a/src/NadekoBot/Modules/Searches/Feeds/FeedsService.cs b/src/NadekoBot/Modules/Searches/Feeds/FeedsService.cs index ba3fbce69..2e0e9682d 100644 --- a/src/NadekoBot/Modules/Searches/Feeds/FeedsService.cs +++ b/src/NadekoBot/Modules/Searches/Feeds/FeedsService.cs @@ -4,7 +4,6 @@ using CodeHollow.FeedReader.Feeds; using LinqToDB; using LinqToDB.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; -using NadekoBot.Db; using NadekoBot.Db.Models; namespace NadekoBot.Modules.Searches.Services; diff --git a/src/NadekoBot/Modules/Searches/Religious/ReligiousApiService.cs b/src/NadekoBot/Modules/Searches/Religious/ReligiousApiService.cs index c66f2877a..3096765f1 100644 --- a/src/NadekoBot/Modules/Searches/Religious/ReligiousApiService.cs +++ b/src/NadekoBot/Modules/Searches/Religious/ReligiousApiService.cs @@ -1,5 +1,4 @@ -using NadekoBot.Modules.Searches.Common; -using OneOf; +using OneOf; using OneOf.Types; using System.Net; using System.Net.Http.Json; diff --git a/src/NadekoBot/Modules/Searches/StreamNotification/StreamNotificationCommands.cs b/src/NadekoBot/Modules/Searches/StreamNotification/StreamNotificationCommands.cs index bed9daf10..c4790c0ad 100644 --- a/src/NadekoBot/Modules/Searches/StreamNotification/StreamNotificationCommands.cs +++ b/src/NadekoBot/Modules/Searches/StreamNotification/StreamNotificationCommands.cs @@ -1,6 +1,5 @@ #nullable disable using Microsoft.EntityFrameworkCore; -using NadekoBot.Db; using NadekoBot.Db.Models; using NadekoBot.Modules.Searches.Services; diff --git a/src/NadekoBot/Modules/Searches/StreamNotification/StreamNotificationService.cs b/src/NadekoBot/Modules/Searches/StreamNotification/StreamNotificationService.cs index 30de4ea64..ddb1688de 100644 --- a/src/NadekoBot/Modules/Searches/StreamNotification/StreamNotificationService.cs +++ b/src/NadekoBot/Modules/Searches/StreamNotification/StreamNotificationService.cs @@ -1,7 +1,6 @@ #nullable disable using Microsoft.EntityFrameworkCore; using NadekoBot.Common.ModuleBehaviors; -using NadekoBot.Db; using NadekoBot.Db.Models; using NadekoBot.Modules.Searches.Common; using NadekoBot.Modules.Searches.Common.StreamNotifications; diff --git a/src/NadekoBot/Modules/Utility/Ai/UtilityCommands.cs b/src/NadekoBot/Modules/Utility/Ai/UtilityCommands.cs index 97836c267..7f8c139fd 100644 --- a/src/NadekoBot/Modules/Utility/Ai/UtilityCommands.cs +++ b/src/NadekoBot/Modules/Utility/Ai/UtilityCommands.cs @@ -1,6 +1,4 @@ -using NadekoBot.Modules.Administration; - -namespace NadekoBot.Modules.Utility; +namespace NadekoBot.Modules.Utility; public partial class UtilityCommands { diff --git a/src/NadekoBot/Modules/Utility/Alias/AliasCommands.cs b/src/NadekoBot/Modules/Utility/Alias/AliasCommands.cs index cd4e658a8..fbae1de01 100644 --- a/src/NadekoBot/Modules/Utility/Alias/AliasCommands.cs +++ b/src/NadekoBot/Modules/Utility/Alias/AliasCommands.cs @@ -1,6 +1,5 @@ #nullable disable using Microsoft.EntityFrameworkCore; -using NadekoBot.Db; using NadekoBot.Modules.Utility.Services; using NadekoBot.Db.Models; diff --git a/src/NadekoBot/Modules/Utility/Alias/AliasService.cs b/src/NadekoBot/Modules/Utility/Alias/AliasService.cs index a33a7cd9b..b19c9bc4c 100644 --- a/src/NadekoBot/Modules/Utility/Alias/AliasService.cs +++ b/src/NadekoBot/Modules/Utility/Alias/AliasService.cs @@ -1,7 +1,6 @@ #nullable disable using Microsoft.EntityFrameworkCore; using NadekoBot.Common.ModuleBehaviors; -using NadekoBot.Db; using NadekoBot.Db.Models; namespace NadekoBot.Modules.Utility.Services; diff --git a/src/NadekoBot/Modules/Utility/Quote/QuoteCommands.cs b/src/NadekoBot/Modules/Utility/Quote/QuoteCommands.cs index aba93e516..ac308f77f 100644 --- a/src/NadekoBot/Modules/Utility/Quote/QuoteCommands.cs +++ b/src/NadekoBot/Modules/Utility/Quote/QuoteCommands.cs @@ -2,7 +2,6 @@ using LinqToDB; using LinqToDB.EntityFrameworkCore; using NadekoBot.Common.Yml; -using NadekoBot.Db; using NadekoBot.Db.Models; using YamlDotNet.Serialization; using YamlDotNet.Serialization.NamingConventions; diff --git a/src/NadekoBot/Modules/Utility/Remind/RemindCommands.cs b/src/NadekoBot/Modules/Utility/Remind/RemindCommands.cs index 5c673f080..656fd1c47 100644 --- a/src/NadekoBot/Modules/Utility/Remind/RemindCommands.cs +++ b/src/NadekoBot/Modules/Utility/Remind/RemindCommands.cs @@ -1,5 +1,4 @@ #nullable disable -using NadekoBot.Db; using NadekoBot.Modules.Utility.Services; using NadekoBot.Db.Models; diff --git a/src/NadekoBot/Modules/Utility/StreamRole/StreamRoleService.cs b/src/NadekoBot/Modules/Utility/StreamRole/StreamRoleService.cs index e636f1ea0..645a06ab7 100644 --- a/src/NadekoBot/Modules/Utility/StreamRole/StreamRoleService.cs +++ b/src/NadekoBot/Modules/Utility/StreamRole/StreamRoleService.cs @@ -1,5 +1,4 @@ using NadekoBot.Common.ModuleBehaviors; -using NadekoBot.Db; using NadekoBot.Modules.Utility.Common; using NadekoBot.Modules.Utility.Common.Exceptions; using NadekoBot.Db.Models; diff --git a/src/NadekoBot/Modules/Utility/Utility.cs b/src/NadekoBot/Modules/Utility/Utility.cs index 93015f87e..ebcd7092b 100644 --- a/src/NadekoBot/Modules/Utility/Utility.cs +++ b/src/NadekoBot/Modules/Utility/Utility.cs @@ -1,4 +1,3 @@ -using LinqToDB.Reflection; using NadekoBot.Modules.Utility.Services; using Newtonsoft.Json; using System.Diagnostics; @@ -7,7 +6,6 @@ using System.Text.Json; using System.Text.Json.Serialization; using Microsoft.CodeAnalysis.CSharp.Scripting; using Microsoft.CodeAnalysis.Scripting; -using NadekoBot.Modules.Games.Hangman; using NadekoBot.Modules.Searches.Common; namespace NadekoBot.Modules.Utility; diff --git a/src/NadekoBot/Modules/Utility/VerboseErrorsService.cs b/src/NadekoBot/Modules/Utility/VerboseErrorsService.cs index 7fbf600aa..f1f4a4c0e 100644 --- a/src/NadekoBot/Modules/Utility/VerboseErrorsService.cs +++ b/src/NadekoBot/Modules/Utility/VerboseErrorsService.cs @@ -1,6 +1,4 @@ #nullable disable -using NadekoBot.Db; - namespace NadekoBot.Modules.Utility.Services; public class VerboseErrorsService : INService diff --git a/src/NadekoBot/Modules/Xp/Club/Club.cs b/src/NadekoBot/Modules/Xp/Club/Club.cs index 24767bb09..054f26280 100644 --- a/src/NadekoBot/Modules/Xp/Club/Club.cs +++ b/src/NadekoBot/Modules/Xp/Club/Club.cs @@ -1,5 +1,4 @@ #nullable disable -using NadekoBot.Db; using NadekoBot.Db.Models; using NadekoBot.Modules.Xp.Services; diff --git a/src/NadekoBot/Modules/Xp/Club/ClubService.cs b/src/NadekoBot/Modules/Xp/Club/ClubService.cs index c2d6ec3ca..2dc5fe837 100644 --- a/src/NadekoBot/Modules/Xp/Club/ClubService.cs +++ b/src/NadekoBot/Modules/Xp/Club/ClubService.cs @@ -2,7 +2,6 @@ using LinqToDB; using LinqToDB.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; -using NadekoBot.Db; using NadekoBot.Db.Models; using OneOf; diff --git a/src/NadekoBot/Modules/Xp/Xp.cs b/src/NadekoBot/Modules/Xp/Xp.cs index a871a8b7a..f4ea5a061 100644 --- a/src/NadekoBot/Modules/Xp/Xp.cs +++ b/src/NadekoBot/Modules/Xp/Xp.cs @@ -2,7 +2,6 @@ using NadekoBot.Modules.Xp.Services; using NadekoBot.Db.Models; using NadekoBot.Modules.Patronage; -using NadekoBot.Modules.Utility; namespace NadekoBot.Modules.Xp; diff --git a/src/NadekoBot/Modules/Xp/XpService.cs b/src/NadekoBot/Modules/Xp/XpService.cs index 0b9c96196..3a2a2d192 100644 --- a/src/NadekoBot/Modules/Xp/XpService.cs +++ b/src/NadekoBot/Modules/Xp/XpService.cs @@ -2,7 +2,6 @@ using LinqToDB; using Microsoft.EntityFrameworkCore; using NadekoBot.Common.ModuleBehaviors; -using NadekoBot.Db; using NadekoBot.Db.Models; using Newtonsoft.Json; using SixLabors.Fonts; diff --git a/src/NadekoBot/Modules/Xp/_common/FullUserStats.cs b/src/NadekoBot/Modules/Xp/_common/FullUserStats.cs index 73e388b84..603d9897e 100644 --- a/src/NadekoBot/Modules/Xp/_common/FullUserStats.cs +++ b/src/NadekoBot/Modules/Xp/_common/FullUserStats.cs @@ -1,5 +1,4 @@ #nullable disable -using NadekoBot.Db; using NadekoBot.Db.Models; namespace NadekoBot.Modules.Xp; diff --git a/src/NadekoBot/Services/Impl/BotCredsProvider.cs b/src/NadekoBot/Services/Impl/BotCredsProvider.cs index 6eb8540c8..2a1ae9cb9 100644 --- a/src/NadekoBot/Services/Impl/BotCredsProvider.cs +++ b/src/NadekoBot/Services/Impl/BotCredsProvider.cs @@ -2,7 +2,6 @@ using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Primitives; using NadekoBot.Common.Yml; -using Newtonsoft.Json; namespace NadekoBot.Services; diff --git a/src/NadekoBot/Services/Impl/Localization.cs b/src/NadekoBot/Services/Impl/Localization.cs index 4fec3559f..632f757d9 100644 --- a/src/NadekoBot/Services/Impl/Localization.cs +++ b/src/NadekoBot/Services/Impl/Localization.cs @@ -1,5 +1,4 @@ #nullable disable -using NadekoBot.Db; using Newtonsoft.Json; using System.Globalization; diff --git a/src/NadekoBot/Services/Impl/RedisBotCache.cs b/src/NadekoBot/Services/Impl/RedisBotCache.cs index a94e3e506..ccc6a3efa 100644 --- a/src/NadekoBot/Services/Impl/RedisBotCache.cs +++ b/src/NadekoBot/Services/Impl/RedisBotCache.cs @@ -3,7 +3,6 @@ using OneOf.Types; using StackExchange.Redis; using System.Text.Json; using System.Text.Json.Serialization; -using YamlDotNet.Core.Tokens; namespace NadekoBot.Common; diff --git a/src/NadekoBot/_common/Attributes/NoPublicBotAttribute.cs b/src/NadekoBot/_common/Attributes/NoPublicBotAttribute.cs index 34f2bf729..9df8853bb 100644 --- a/src/NadekoBot/_common/Attributes/NoPublicBotAttribute.cs +++ b/src/NadekoBot/_common/Attributes/NoPublicBotAttribute.cs @@ -1,6 +1,4 @@ #nullable disable -using System.Diagnostics.CodeAnalysis; - namespace NadekoBot.Common; [AttributeUsage(AttributeTargets.Method | AttributeTargets.Class)] diff --git a/src/NadekoBot/_common/Medusa/Common/Models/SnekCommandData.cs b/src/NadekoBot/_common/Medusa/Common/Models/SnekCommandData.cs index 8a877c2f7..c865f93ff 100644 --- a/src/NadekoBot/_common/Medusa/Common/Models/SnekCommandData.cs +++ b/src/NadekoBot/_common/Medusa/Common/Models/SnekCommandData.cs @@ -1,5 +1,4 @@ -using NadekoBot.Medusa; -using System.Reflection; +using System.Reflection; namespace NadekoBot.Medusa; diff --git a/src/NadekoBot/_common/Patronage/IPatronageService.cs b/src/NadekoBot/_common/Patronage/IPatronageService.cs index 82e26faee..270b23908 100644 --- a/src/NadekoBot/_common/Patronage/IPatronageService.cs +++ b/src/NadekoBot/_common/Patronage/IPatronageService.cs @@ -1,7 +1,4 @@ -using NadekoBot.Db.Models; -using OneOf; - -namespace NadekoBot.Modules.Patronage; +namespace NadekoBot.Modules.Patronage; /// /// Manages patrons and provides access to their data diff --git a/src/NadekoBot/_common/Patronage/QuotaLimit.cs b/src/NadekoBot/_common/Patronage/QuotaLimit.cs index 2cf00808a..e8b0fb31c 100644 --- a/src/NadekoBot/_common/Patronage/QuotaLimit.cs +++ b/src/NadekoBot/_common/Patronage/QuotaLimit.cs @@ -1,6 +1,4 @@ -using NadekoBot.Db.Models; - -namespace NadekoBot.Modules.Patronage; +namespace NadekoBot.Modules.Patronage; /// /// Represents information about why the user has triggered a quota limit diff --git a/src/NadekoBot/_common/Sender/MessageSenderService.cs b/src/NadekoBot/_common/Sender/MessageSenderService.cs index d25a7b1ed..ff0942d0c 100644 --- a/src/NadekoBot/_common/Sender/MessageSenderService.cs +++ b/src/NadekoBot/_common/Sender/MessageSenderService.cs @@ -1,5 +1,4 @@ using NadekoBot.Common.Configs; -using System.Diagnostics.CodeAnalysis; namespace NadekoBot.Extensions; diff --git a/src/NadekoBot/_common/Sender/ResponseBuilder.cs b/src/NadekoBot/_common/Sender/ResponseBuilder.cs index 84c1b026b..20c3654af 100644 --- a/src/NadekoBot/_common/Sender/ResponseBuilder.cs +++ b/src/NadekoBot/_common/Sender/ResponseBuilder.cs @@ -1,6 +1,4 @@ -using NadekoBot.Common.Configs; -using NadekoBot.Db.Models; -using System.Collections.ObjectModel; +using System.Collections.ObjectModel; namespace NadekoBot.Extensions; diff --git a/src/NadekoBot/_common/Services/CommandHandler.cs b/src/NadekoBot/_common/Services/CommandHandler.cs index 9ebe18f19..ed3041443 100644 --- a/src/NadekoBot/_common/Services/CommandHandler.cs +++ b/src/NadekoBot/_common/Services/CommandHandler.cs @@ -1,7 +1,6 @@ #nullable disable using NadekoBot.Common.Configs; using NadekoBot.Common.ModuleBehaviors; -using NadekoBot.Db; using ExecuteResult = Discord.Commands.ExecuteResult; using PreconditionResult = Discord.Commands.PreconditionResult; diff --git a/src/NadekoBot/_common/Services/Currency/CurrencyService.cs b/src/NadekoBot/_common/Services/Currency/CurrencyService.cs index d8cddcd74..f3428d884 100644 --- a/src/NadekoBot/_common/Services/Currency/CurrencyService.cs +++ b/src/NadekoBot/_common/Services/Currency/CurrencyService.cs @@ -1,7 +1,6 @@ #nullable disable using LinqToDB; using LinqToDB.EntityFrameworkCore; -using NadekoBot.Db; using NadekoBot.Db.Models; using NadekoBot.Services.Currency; diff --git a/src/NadekoBot/_common/_Extensions/DbExtensions.cs b/src/NadekoBot/_common/_Extensions/DbExtensions.cs index 06dc7bb85..c94faef2d 100644 --- a/src/NadekoBot/_common/_Extensions/DbExtensions.cs +++ b/src/NadekoBot/_common/_Extensions/DbExtensions.cs @@ -1,5 +1,4 @@ using Microsoft.EntityFrameworkCore; -using NadekoBot.Db; using NadekoBot.Db.Models; namespace NadekoBot.Extensions; diff --git a/src/NadekoBot/_common/_Extensions/Extensions.cs b/src/NadekoBot/_common/_Extensions/Extensions.cs index 0e1290ddc..6e0d2273b 100644 --- a/src/NadekoBot/_common/_Extensions/Extensions.cs +++ b/src/NadekoBot/_common/_Extensions/Extensions.cs @@ -1,4 +1,3 @@ -using System.Diagnostics; using System.Globalization; using System.Text.Json; using System.Text.RegularExpressions;