Skip to content

Instantly share code, notes, and snippets.

View jimchen5209's full-sized avatar
🔥

Jim Chen jimchen5209

🔥
View GitHub Profile
@jimchen5209
jimchen5209 / chrome-font-family-bug.markdown
Created November 12, 2022 12:03
chrome-font-family-bug
import { VoiceConnection } from 'eris';
import FFmpeg from 'fluent-ffmpeg';
import { Queue } from 'queue-typescript';
export class PlayerQueue {
private playQueue: { [key: string]: Queue<string> } = {};
public queueAndPlay(voice: VoiceConnection, file: string) {
if (!(voice.channelID in this.playQueue)) this.playQueue[voice.channelID] = new Queue<string>();
this.playQueue[voice.channelID].enqueue(file);
@jimchen5209
jimchen5209 / 0. README.md
Last active September 2, 2017 12:43 — forked from Sea-n/0. README.md
How to Translate Awesome Telegram Bot