merge-requests/9/merge
Bsian 2020-04-17 14:50:50 +01:00
commit 7e25f7ae70
No known key found for this signature in database
GPG Key ID: 097FB9A291026091
1 changed files with 0 additions and 8 deletions

View File

@ -126,12 +126,4 @@ export default class Util {
const asHex = number.toString(16); const asHex = number.toString(16);
return '#000000'.substring(0, 7 - asHex.length) + asHex; return '#000000'.substring(0, 7 - asHex.length) + asHex;
} }
<<<<<<< HEAD
=======
public guildFromMessage(message: Message): Guild | null {
if (message.channel instanceof PrivateChannel || message.channel instanceof GroupChannel) return null;
return message.channel.guild;
}
>>>>>>> dev
} }