mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2026-11-03 10:45:00 +00:00
Fix typings
This commit is contained in:
1 parent
a1403d7047
commit
973cd00c82
9 files changed
+36
-36
No files matched your search
@@ -1,4 +1,4 @@
|
||||
import { Guild } from "discord.js";
|
||||
import { Guild, OAuth2Guild } from "discord.js";
|
||||
import RadioClient from "../../Client";
|
||||
import { radio } from "./Radio";
|
||||
|
||||
@@ -18,7 +18,7 @@ export default class Statistics {
|
||||
this.map = new Map();
|
||||
}
|
||||
|
||||
update(client: RadioClient, guild: Guild | null, radio: radio) {
|
||||
update(client: RadioClient, guild: Guild | { id: string, name?: string } | undefined, radio: radio) {
|
||||
if(!guild) return;
|
||||
|
||||
client.datastore?.checkEntry(guild.id);
|
||||
|
||||
Reference in new issue
Block a user