mirror of
				https://github.com/1disk/edp445.git
				synced 2024-08-14 22:47:02 +00:00 
			
		
		
		
	Status update
This commit is contained in:
		
							parent
							
								
									7dbf15b966
								
							
						
					
					
						commit
						402d01ceba
					
				
					 1 changed files with 12 additions and 4 deletions
				
			
		
							
								
								
									
										16
									
								
								index.js
									
										
									
									
									
								
							
							
						
						
									
										16
									
								
								index.js
									
										
									
									
									
								
							|  | @ -5,10 +5,18 @@ const client = new Client(); //New Discord client | ||||||
| const botconfig = require('./data/botconfig.json') //Login info for the bot, you will have to provide your own info there
 | const botconfig = require('./data/botconfig.json') //Login info for the bot, you will have to provide your own info there
 | ||||||
| 
 | 
 | ||||||
| client.on("ready", () => { | client.on("ready", () => { | ||||||
|   console.log(`The bot is online!`) |     console.log(`The bot is online!`) | ||||||
| 
 |    | ||||||
|   client.user.setPresence({ status: 'dnd' }); |       client.user.setActivity(`${client.guilds.cache.size} servers • discord.gg/memee`, { | ||||||
| }); |         type: "WATCHING" | ||||||
|  |       }); | ||||||
|  |   }); | ||||||
|  |    | ||||||
|  |   client.on("guildCreate", function(guild){ | ||||||
|  |       client.user.setActivity(`${client.guilds.cache.size} servers • discord.gg/memee`, { | ||||||
|  |           type: "WATCHING" | ||||||
|  |         }); | ||||||
|  |   }); | ||||||
| 
 | 
 | ||||||
| client.on("message", async (message) => { | client.on("message", async (message) => { | ||||||
|     const DetectMessageType = require('./functions/!DetectMessageType.js') |     const DetectMessageType = require('./functions/!DetectMessageType.js') | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue