Commit 2e1b6eaa authored by 神楽坂玲奈's avatar 神楽坂玲奈

fix

parent 1dbec2da
......@@ -115,7 +115,7 @@ export class YGOProService {
news: Promise<News[]>;
topics: Promise<any[]>;
windbot: Promise<string[]>;
points: BehaviorSubject<Points | undefined> = new BehaviorSubject(undefined);
points = new BehaviorSubject<Points | undefined>(undefined);
readonly default_options: Options = {
mode: 1,
......@@ -310,7 +310,7 @@ export class YGOProService {
async join_windbot(name?: string) {
if (!name) {
name = sample(await this.windbot.toPromise());
name = sample(await this.windbot);
}
return this.join('AI#' + name, this.servers[0]);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment