mirror of
https://github.com/TeamOctolings/Octobot.git
synced 2025-04-19 16:33:36 +03:00
Fix issues found by ReSharper CLI pt.2
This commit is contained in:
parent
f4fc771432
commit
2aee8a9c02
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ public class GuildUpdateService : BackgroundService {
|
|||
var guildUser = _guildApi.GetGuildMemberAsync(guildId, userId, ct);
|
||||
|
||||
var tag = guildUser.Result.Entity.Nickname.ToString();
|
||||
var symbols = new char[] { "~"[0], "`"[0], "!"[0], "@"[0], "#"[0], "$"[0], "%"[0], "^"[0], "&"[0], "*"[0], "("[0], ")"[0], "_"[0], "-"[0], "+"[0], "="[0]};
|
||||
var symbols = new[] { "~"[0], "`"[0], "!"[0], "@"[0], "#"[0], "$"[0], "%"[0], "^"[0], "&"[0], "*"[0], "("[0], ")"[0], "_"[0], "-"[0], "+"[0], "="[0]};
|
||||
foreach (var symbol in symbols) {
|
||||
if (tag[0] == symbol) {
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue