pineafan | 3276721 | 2022-03-14 21:27:39 +0000 | [diff] [blame^] | 1 | |
| 2 | export default async function readConfig(guild: string): Promise<any> { |
| 3 | |
| 4 | let config = { |
| 5 | filters: { |
| 6 | images: { |
| 7 | NSFW: true, |
| 8 | size: true |
| 9 | }, |
| 10 | malware: true, |
| 11 | wordFilter: { |
| 12 | enabled: true, |
| 13 | words: { |
| 14 | strict: [], |
| 15 | loose: [] |
| 16 | }, |
| 17 | allowed: { |
| 18 | users: [], |
| 19 | roles: [], |
| 20 | channels: [] |
| 21 | } |
| 22 | }, |
| 23 | invite: { |
| 24 | enabled: false, |
| 25 | allowed: { |
| 26 | users: [], |
| 27 | channels: [], |
| 28 | roles: [] |
| 29 | } |
| 30 | }, |
| 31 | pings: { |
| 32 | mass: 5, |
| 33 | everyone: true, |
| 34 | roles: true, |
| 35 | allowed: { |
| 36 | roles: [], |
| 37 | rolesToMention: [], |
| 38 | users: [], |
| 39 | channels: [] |
| 40 | } |
| 41 | } |
| 42 | }, |
| 43 | welcome: { |
| 44 | enabled: true, |
| 45 | verificationRequired: { |
| 46 | message: false, |
| 47 | role: false |
| 48 | }, |
| 49 | welcomeRole: null, |
| 50 | channel: '895209752315961344', // null, channel ID or 'dm' |
| 51 | message: "Welcome to the server, {@}!" |
| 52 | }, |
| 53 | stats: [ |
| 54 | { |
| 55 | enabled: true, |
| 56 | channel: '951910554291818526', |
| 57 | text: "{count} members | {count:bots} bots | {count:humans} humans" |
| 58 | } |
| 59 | ], |
| 60 | logging: { |
| 61 | logs: { |
| 62 | enabled: true, |
| 63 | channel: '952247098437427260', |
| 64 | toLog: "3fffff" // "3ffffe" = - channelUpdate, "3fffff" = all |
| 65 | }, |
| 66 | staff: {} |
| 67 | }, |
| 68 | verify: { |
| 69 | enabled: true, |
| 70 | channel: '895210691479355392', |
| 71 | role: '934941369137524816', |
| 72 | }, |
| 73 | tickets: { |
| 74 | enabled: true, |
| 75 | category: "952302254302584932", |
| 76 | types: "3f", |
| 77 | customTypes: null, |
| 78 | supportRole: null, |
| 79 | maxTickets: 5 |
| 80 | } |
| 81 | }; |
| 82 | |
| 83 | return config |
| 84 | |
| 85 | } |