Example #1
0
        private async Task GuildAvailable(SocketGuild arg)
        {
            var newServer = new DiscordServer(arg, _config, _rand, ServiceProvider);

            if (!ServerStore.TryAdd(arg.Id, newServer))
            {
                // - Unable to add the server.
            }

            await newServer.RunServer();
        }