Beispiel #1
0
        public static async Task SendAnimation(IMessageChannel chan, EmoteAnimation Animation, string var)
        {
            anim       = Animation;
            varEmote   = var;
            frameCount = 1;
            animation  = await chan.SendMessageAsync(anim.frames[0].Replace("%", varEmote));

            animTimer = new Timer(new TimerCallback(AnimateTimerCallback), null, 1000, 1000);
        }
Beispiel #2
0
 public static async Task SendAnimation(IMessageChannel chan, EmoteAnimation anim)
 {
     await SendAnimation(chan, anim, "");
 }