Skip to content
Extraits de code Groupes Projets
Non vérifiée Valider fda7d348 rédigé par Sorunome's avatar Sorunome
Parcourir les fichiers

remove unneeded type setting

parent 6ed4eb13
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -208,7 +208,7 @@ export class ChannelSyncroniser { ...@@ -208,7 +208,7 @@ export class ChannelSyncroniser {
let iconUrl: string | null = null; let iconUrl: string | null = null;
if (icon) { if (icon) {
// if discord prefixes their icon hashes with "a_" it means that they are animated // if discord prefixes their icon hashes with "a_" it means that they are animated
const animatedIcon: boolean = icon.startsWith("a_"); const animatedIcon = icon.startsWith("a_");
iconUrl = `https://cdn.discordapp.com/icons/${channel.guild.id}/${icon}.${animatedIcon ? "gif" : "png"}`; iconUrl = `https://cdn.discordapp.com/icons/${channel.guild.id}/${icon}.${animatedIcon ? "gif" : "png"}`;
} }
remoteRooms.forEach((remoteRoom) => { remoteRooms.forEach((remoteRoom) => {
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter