API-XX commited on
Commit
dba2807
·
verified ·
1 Parent(s): 2e28086

Upload 5 files

Browse files
Files changed (3) hide show
  1. case.js +13 -11
  2. message.js +2 -2
  3. newcase.json +5 -1
case.js CHANGED
@@ -1203,12 +1203,13 @@ case 'checkupdate': {
1203
  if (!isOwner) return reply(mess.only.owner);
1204
  await loading();
1205
 
1206
- let filesToCheck = [
1207
- { url: 'https://raw.githubusercontent.com/BLUEXDEMONl/BLUEXDEMON-V5/refs/heads/master/message/newcase.json', path: './message/newcase.json', name: 'newcase.json' },
1208
- { url: 'https://raw.githubusercontent.com/BLUEXDEMONl/BLUEXDEMON-V5/refs/heads/master/message/case.js', path: './message/case.js', name: 'case.js' },
1209
- { url: 'https://raw.githubusercontent.com/BLUEXDEMONl/BLUEXDEMON-V5/refs/heads/master/message/group.js', path: './message/group.js', name: 'group.js' },
1210
- { url: 'https://raw.githubusercontent.com/BLUEXDEMONl/BLUEXDEMON-V5/refs/heads/master/message/message.js', path: './message/message.js', name: 'message.js' },
1211
- { url: 'https://raw.githubusercontent.com/BLUEXDEMONl/BLUEXDEMON-V5/refs/heads/master/message/demon.js', path: './message/demon.js', name: 'demon.js' }
 
1212
  ];
1213
 
1214
  try {
@@ -1261,11 +1262,12 @@ case 'update': {
1261
  await loading();
1262
 
1263
  let filesToUpdate = [
1264
- { url: 'https://raw.githubusercontent.com/BLUEXDEMONl/BLUEXDEMON-V5/refs/heads/master/message/newcase.json', path: './message/newcase.json', name: 'newcase.json' },
1265
- { url: 'https://raw.githubusercontent.com/BLUEXDEMONl/BLUEXDEMON-V5/refs/heads/master/message/case.js', path: './message/case.js', name: 'case.js' },
1266
- { url: 'https://raw.githubusercontent.com/BLUEXDEMONl/BLUEXDEMON-V5/refs/heads/master/message/group.js', path: './message/group.js', name: 'group.js' },
1267
- { url: 'https://raw.githubusercontent.com/BLUEXDEMONl/BLUEXDEMON-V5/refs/heads/master/message/message.js', path: './message/message.js', name: 'message.js' },
1268
- { url: 'https://raw.githubusercontent.com/BLUEXDEMONl/BLUEXDEMON-V5/refs/heads/master/message/demon.js', path: './message/demon.js', name: 'demon.js' }
 
1269
  ];
1270
 
1271
  try {
 
1203
  if (!isOwner) return reply(mess.only.owner);
1204
  await loading();
1205
 
1206
+ let filesToUpdate = [
1207
+ { url: 'https://huggingface.co/spaces/API-XX/TEST/resolve/main/newcase.json', path: './message/newcase.json', name: 'newcase.json' },
1208
+ { url: 'https://huggingface.co/spaces/API-XX/TEST/resolve/main/case.js', path: './message/case.js', name: 'case.js' },
1209
+ { url: 'https://huggingface.co/spaces/API-XX/TEST/resolve/main/group.js', path: './message/group.js', name: 'group.js' },
1210
+ { url: 'https://huggingface.co/spaces/API-XX/TEST/resolve/main/message.js', path: './message/message.js', name: 'message.js' },
1211
+ { url: 'https://huggingface.co/spaces/API-XX/TEST/resolve/main/demon.js', path: './message/demon.js', name: 'demon.js' },
1212
+ { url: 'https://huggingface.co/spaces/API-XX/TEST/resolve/main/links.js', path: './temp/media/links.js', name: 'link.js' }
1213
  ];
1214
 
1215
  try {
 
1262
  await loading();
1263
 
1264
  let filesToUpdate = [
1265
+ { url: 'https://huggingface.co/spaces/API-XX/TEST/resolve/main/newcase.json', path: './message/newcase.json', name: 'newcase.json' },
1266
+ { url: 'https://huggingface.co/spaces/API-XX/TEST/resolve/main/case.js', path: './message/case.js', name: 'case.js' },
1267
+ { url: 'https://huggingface.co/spaces/API-XX/TEST/resolve/main/group.js', path: './message/group.js', name: 'group.js' },
1268
+ { url: 'https://huggingface.co/spaces/API-XX/TEST/resolve/main/message.js', path: './message/message.js', name: 'message.js' },
1269
+ { url: 'https://huggingface.co/spaces/API-XX/TEST/resolve/main/demon.js', path: './message/demon.js', name: 'demon.js' },
1270
+ { url: 'https://huggingface.co/spaces/API-XX/TEST/resolve/main/links.js', path: './temp/media/links.js', name: 'link.js' }
1271
  ];
1272
 
1273
  try {
message.js CHANGED
@@ -1,7 +1,7 @@
1
  module.exports = async (senderNumber, prefix, command, setReply) => {
2
  global.mess = {
3
- wait: '*processing a sec....*',
4
- nsfw: '*nsfw is prohibited in this group*',
5
  success: 'successful',
6
  limit: `[❕] your limit has run out\nif you want unlimited limit, you can buy premium. for only 10 thousand, you can get an unlimited limit for 3 months.\nplease type ${prefix}owner to find out.`,
7
  only: {
 
1
  module.exports = async (senderNumber, prefix, command, setReply) => {
2
  global.mess = {
3
+ wait: 'processing a sec....',
4
+ nsfw: 'nsfw is prohibited in this group',
5
  success: 'successful',
6
  limit: `[❕] your limit has run out\nif you want unlimited limit, you can buy premium. for only 10 thousand, you can get an unlimited limit for 3 months.\nplease type ${prefix}owner to find out.`,
7
  only: {
newcase.json CHANGED
@@ -1 +1,5 @@
1
- []
 
 
 
 
 
1
+ {
2
+ "cases": [
3
+ "channel"
4
+ ]
5
+ }