Role Info, Permissions Stuff

This commit is contained in:
Daniel Odendahl Jr
2017-07-24 16:47:26 +00:00
parent ffd73cc21c
commit 4339ae0134
5 changed files with 89 additions and 3 deletions
+5
View File
@@ -11,6 +11,11 @@ class Util {
.replace(/(&)/g, '&')
.replace(/(\[i\]|\[\/i\])/g, '*');
}
static placeholder({ size, color }) {
if (!size) size = '200x200';
return `http://via.placeholder.com/${size}/${color}/${color}`;
}
static dBots(count, id) {
snekfetch
.post(`https://bots.discord.pw/api/bots/${id}/stats`)