First commit for dscrdbt
This commit is contained in:
		
							
								
								
									
										13
									
								
								commands/utility/ping.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								commands/utility/ping.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,13 @@ | ||||
| const { SlashCommandBuilder, MessageFlags } = require('discord.js'); | ||||
|  | ||||
| module.exports = { | ||||
|     data: new SlashCommandBuilder() | ||||
|         .setName('ping') | ||||
|         .setDescription('Replies with Pong!'), | ||||
|     async execute(interaction) { | ||||
|         await interaction.reply({  | ||||
|             content: 'Secret Pong!',  | ||||
|             flags: MessageFlags.Ephemeral | ||||
|         }); | ||||
|     }, | ||||
| }; | ||||
							
								
								
									
										11
									
								
								commands/utility/server.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								commands/utility/server.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,11 @@ | ||||
| const { SlashCommandBuilder } = require('discord.js'); | ||||
|  | ||||
| module.exports = { | ||||
|     data: new SlashCommandBuilder() | ||||
|         .setName('server') | ||||
|         .setDescription('Provides information about the server.'), | ||||
|     async execute(interaction) { | ||||
|         await interaction.reply(`This server is ${interaction.guild.name} and has  | ||||
|             ${interaction.guild.memberCount} members.`); | ||||
|     }, | ||||
| }; | ||||
							
								
								
									
										11
									
								
								commands/utility/user.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								commands/utility/user.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,11 @@ | ||||
| const { SlashCommandBuilder } = require('discord.js'); | ||||
|  | ||||
| module.exports = { | ||||
|     data: new SlashCommandBuilder() | ||||
|         .setName('user') | ||||
|         .setDescription('Provides information about the user.'), | ||||
|     async execute(interaction) { | ||||
|         await interaction.reply(`This command was run by ${interaction.user.username},  | ||||
|             who joined on ${interaction.member.joinedAt}.`); | ||||
|     }, | ||||
| }; | ||||
		Reference in New Issue
	
	Block a user