on join play seal of orichalcos - not that it'll ever join another guild

This commit is contained in:
Adam R. Grey 2021-12-04 03:10:00 -05:00
parent 114813400e
commit c05b507d43

View File

@ -46,6 +46,7 @@ namespace silverworker_discord
_client.MessageReceived += MessageReceived; _client.MessageReceived += MessageReceived;
_client.UserJoined += UserJoined; _client.UserJoined += UserJoined;
_client.JoinedGuild += IJoined;
}); });
// Block this task until the program is closed. // Block this task until the program is closed.
await Task.Delay(-1); await Task.Delay(-1);
@ -146,5 +147,12 @@ namespace silverworker_discord
Console.WriteLine($"imma call him {abbreviatedNickname}"); Console.WriteLine($"imma call him {abbreviatedNickname}");
return arg.Guild.DefaultChannel.SendMessageAsync($"oh hey {abbreviatedNickname}- IPLAYTHESEALOFORICHALCOS <:ORICHALCOS:852749196633309194>"); return arg.Guild.DefaultChannel.SendMessageAsync($"oh hey {abbreviatedNickname}- IPLAYTHESEALOFORICHALCOS <:ORICHALCOS:852749196633309194>");
} }
private Task IJoined(SocketGuild arg)
{
arg.DefaultChannel.SendMessageAsync($"members of {arg.Name}, I'm starting with... THE SEAL OF ORICHALCOS!");
return arg.DefaultChannel.SendMessageAsync($"<:ORICHALCOS:852749196633309194>");
}
} }
} }