public async Task AllStreams() { var embeds = await TwitchListener.AllStreamsEmbeds(); await ReplyAsync($"{embeds.Count} Golden Sun streams."); foreach (var s in embeds) { _ = ReplyAsync(embed: s); } }
// Use this for initialization void Start () { command = ""; promptText.text = prompt; consoleText.text = ""; consoleText_1.text = ""; consoleText_2.text = ""; time = 0; promptShown = false; Vector2 movementVector=new Vector2(0,0); activeCommand = "stop"; remoteConsole = twitchListener.GetComponent<TwitchListener>(); controlRemoto = menuManager.GetComponent<SettingsManager>().IsStreamingModeOn(); if (controlRemoto) { InvokeRepeating("ReadTwitchCommand", 0, 1); } }
// Use this for initialization void Start() { command = ""; promptText.text = prompt; consoleText.text = ""; consoleText_1.text = ""; consoleText_2.text = ""; time = 0; promptShown = false; Vector2 movementVector = new Vector2(0, 0); activeCommand = "stop"; remoteConsole = twitchListener.GetComponent <TwitchListener>(); //controlRemoto = menuManager.GetComponent<MenuManager>().IsStreamingModeOn(); if (controlRemoto) { InvokeRepeating("ReadTwitchCommand", 0, 1); } }
public async Task AllStreams() { await Context.Message.DeleteAsync(); await TwitchListener.AllStreams(null, null); }