Skip to content

Commit

Permalink
help追加, miqの画像送信方法の変更
Browse files Browse the repository at this point in the history
  • Loading branch information
VEDA00133912 committed Jan 31, 2025
1 parent 0abffb9 commit a83b4db
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 9 deletions.
6 changes: 0 additions & 6 deletions commands/attachment.js

This file was deleted.

19 changes: 19 additions & 0 deletions commands/help.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
const { EmbedBuilder } = require('revolthandler.js');

exports.default = {
name: 'help',
async code(message) {
const embed = new EmbedBuilder()
.setTitle('ヘルプ')
.setColor('#7289DA')
.setDescription(`
**コマンド一覧**
- <@01JEN5R7Y5WT4PK9Y643QBBR0Z>\n返信するときにメンションをするとMake it a Quoteを生成します。\nメンションの横にcolorとつけるとカラー生成をします
- **r^help**\nこれを出す
- **r^ping**\nping値を表示します
- **r^serverinfo**\nサーバー情報を表示します
- **r^userinfo メンション**\nメンションしたユーザーの情報を表示します
`)
await message.reply({ embeds: [embed]})
}
};
2 changes: 1 addition & 1 deletion commands/miq.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ exports.default = {

const miq = new MiQ().setFromObject(imageData, true);
const response = await miq.generate();
await message.reply(response);
await message.reply(`**[生成しました!](${response})**`);
}
} catch (error) {
console.error('コマンド実行中にエラー:', error);
Expand Down
2 changes: 1 addition & 1 deletion config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"owners": "01H5934VSZCH40572FQ881MV8R",
"prefix": "r^",
"watermark": "Tester#6695"
"watermark": "TEST#6695"
}
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const handler = new revoltHandler.Handler({
client.once('ready', () => {
handler.start();
console.log(`${client.user.username} is online!`);
client.api.patch('/users/@me', { status: { text: `ぬぬぬぬぬぬぬぬぬ`, presence: 'Idle' } });
client.api.patch('/users/@me', { status: { text: `r^helpでヘルプ表示`, presence: 'Idle' } });
console.log('Activity setup complete');
});

Expand Down

0 comments on commit a83b4db

Please sign in to comment.