mirror of
https://github.com/toast-ts/Daggerbot-TS.git
synced 2024-11-17 12:21:00 -05:00
Better picture for No Content
This commit is contained in:
parent
d23b90bae5
commit
5b2d47e498
@ -36,7 +36,7 @@ export default async(client:TClient,Channel:string,Message:string,ServerName:str
|
||||
CSG.fetchResult = `DagMP CSG failed, ${results[1]}`;
|
||||
embed.addFields({name:'CSG Status',value:results[1]})
|
||||
} else if (results[1].status != 200){
|
||||
if (results[1].status === 204) embed.setImage('https://http.cat/204');
|
||||
if (results[1].status === 204) embed.setImage('https://httpcats.com/204.jpg');
|
||||
CSG.fetchResult = `DagMP CSG failed with ${results[1].status + ' ' + results[1].statusText}`;
|
||||
embed.addFields({name:'CSG Status',value:results[1].status + ' ' + results[1].statusText})
|
||||
} else CSG.data = (client.xjs.xml2js(results[1].data,{compact:true}) as any).careerSavegame as FSCareerSavegame
|
||||
|
Loading…
Reference in New Issue
Block a user