From c05b507d43c9243ceb8e7b25eb85d6590dcb172f Mon Sep 17 00:00:00 2001 From: "Adam R. Grey" Date: Sat, 4 Dec 2021 03:10:00 -0500 Subject: [PATCH] on join play seal of orichalcos - not that it'll ever join another guild --- Program.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Program.cs b/Program.cs index a9c6899..639237c 100644 --- a/Program.cs +++ b/Program.cs @@ -46,6 +46,7 @@ namespace silverworker_discord _client.MessageReceived += MessageReceived; _client.UserJoined += UserJoined; + _client.JoinedGuild += IJoined; }); // Block this task until the program is closed. await Task.Delay(-1); @@ -146,5 +147,12 @@ namespace silverworker_discord Console.WriteLine($"imma call him {abbreviatedNickname}"); 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>"); + } } } \ No newline at end of file