File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,7 +8,23 @@ module.exports = {
88 . setDescription ( 'Liste les serveurs où daftbot règne' ) ,
99 async execute ( message , client , language , initDateTime ) {
1010 await message . reply ( {
11- 'content' : `${ client . user . username } ${ language . guild } \n${ client . guilds . cache . map ( guild => guild . name ) . join ( '\n ' ) } ` ,
11+ 'content' : '' ,
12+ 'tts' : false ,
13+ 'embeds' : [ {
14+ 'type' : 'rich' ,
15+ 'title' : `Guild` ,
16+ 'description' : `${ client . user . username } ${ language . guild } \n${ client . guilds . cache . map ( guild => guild . name ) . join ( '\n ' ) } ` ,
17+ 'color' : randomColor ( ) ,
18+ 'author' : {
19+ 'name' : message . user . username ,
20+ 'icon_url' : message . user . avatarURL ( { format : 'png' , dynamic : true , size : 1024 } )
21+ } ,
22+ 'footer' : {
23+ 'text' : '/guild' ,
24+ 'icon_url' : 'https://cdn.discordapp.com/app-icons/757955750164430980/94a997258883caba5f553f98aea8df59.png?size=256' ,
25+ 'proxy_icon_url' : 'https://discord.gg/ucwnMKKxZe'
26+ }
27+ } ] ,
1228 'ephemeral' : true
1329 } ) ;
1430 }
You can’t perform that action at this time.
0 commit comments