users with account are now renamed after joining the discord server
This commit is contained in:
parent
85eaf8b36e
commit
601bd10c39
1 changed files with 0 additions and 13 deletions
|
@ -31,19 +31,6 @@ builder.Services.AddScoped<RaidRandomizerService>();
|
|||
builder.Services.AddScoped<TimeZoneService>();
|
||||
builder.Services.AddScoped<DiscordService>();
|
||||
builder.Services.AddHostedService<TimerService>();
|
||||
/*
|
||||
#region discord
|
||||
//DiscordSocketClient client = new DiscordSocketClient();
|
||||
|
||||
//client.Log += Log;
|
||||
var token = File.ReadAllText("token.txt");
|
||||
|
||||
await client.LoginAsync(TokenType.Bot, token);
|
||||
await client.StartAsync();
|
||||
builder.Services.AddSingleton(client);
|
||||
builder.Services.AddSingleton<CommandService>();
|
||||
builder.Services.AddSingleton<CommandHandler>();
|
||||
#endregion discord*/
|
||||
|
||||
builder.Services.AddAuthentication(opt =>
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue