I can remove this now
parent
1a41999e42
commit
a1e8510073
|
@ -126,9 +126,4 @@ export default class Util {
|
|||
const asHex = number.toString(16);
|
||||
return '#000000'.substring(0, 7 - asHex.length) + asHex;
|
||||
}
|
||||
|
||||
public guildFromMessage(message: Message): Guild | null {
|
||||
if (message.channel instanceof PrivateChannel || message.channel instanceof GroupChannel) return null;
|
||||
return message.channel.guild;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue