mirror of
https://github.com/TeamOctolings/Octobot.git
synced 2025-04-20 00:43:36 +03:00
Fix issues found by ReSharper CLI
This commit is contained in:
parent
165bab524a
commit
f4fc771432
1 changed files with 1 additions and 2 deletions
|
@ -1,4 +1,3 @@
|
|||
using System.Text;
|
||||
using System.Text.Json.Nodes;
|
||||
using Boyfriend.Data;
|
||||
using Microsoft.Extensions.Hosting;
|
||||
|
@ -163,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[16] { "~"[0], "`"[0], "!"[0], "@"[0], "#"[0], "$"[0], "%"[0], "^"[0], "&"[0], "*"[0], "("[0], ")"[0], "_"[0], "-"[0], "+"[0], "="[0]};
|
||||
var symbols = new char[] { "~"[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