Compare commits
No commits in common. "5cc94e54a3391862396e0b8685ef00416eb7646d" and "633f0a6fec5b84ffd26913101e9519281a86aef3" have entirely different histories.
5cc94e54a3
...
633f0a6fec
6 changed files with 4 additions and 8 deletions
|
@ -27,7 +27,6 @@ export default {
|
|||
.setDescription('What do you want the AI to generate?')
|
||||
.setRequired(true)),
|
||||
category: 'AI',
|
||||
alias: ['i2i'],
|
||||
async execute(interaction, args, client) {
|
||||
await interaction.deferReply();
|
||||
|
||||
|
|
|
@ -23,7 +23,6 @@ export default {
|
|||
.setDescription('What do you want the AI to generate?')
|
||||
.setRequired(true)),
|
||||
category: 'AI',
|
||||
alias: ['t2i'],
|
||||
async execute(interaction, args, client) {
|
||||
await interaction.deferReply();
|
||||
generate(interaction, args.prompt, client);
|
||||
|
|
|
@ -20,7 +20,6 @@ export default {
|
|||
.setDescription('The audio that will become image.')
|
||||
.setRequired(true)),
|
||||
category: 'fun',
|
||||
alias: ['a2i'],
|
||||
async execute(interaction, args) {
|
||||
if (!args.audio) return interaction.reply('Please attach an image with your message.');
|
||||
|
||||
|
|
|
@ -20,7 +20,6 @@ export default {
|
|||
.setDescription('The image that will become audio. Only tested with png and jpg.')
|
||||
.setRequired(true)),
|
||||
category: 'fun',
|
||||
alias: ['i2a'],
|
||||
async execute(interaction, args) {
|
||||
if (!args.img) return interaction.reply('Please attach an image with your message.');
|
||||
|
||||
|
|
|
@ -30,10 +30,10 @@ export default {
|
|||
const isOptOut = await db.optout.findOne({ where: { userID: interaction.user.id } });
|
||||
|
||||
if (isOptOut) {
|
||||
console.log(`A user launched command \x1b[33m${commandName}\x1b[0m using slash`);
|
||||
console.log(`A user launched command \x1b[33m${commandName}\x1b[0m with slash`);
|
||||
}
|
||||
else {
|
||||
console.log(`\x1b[33m${userTag} (${userID})\x1b[0m launched command \x1b[33m${commandName}\x1b[0m using slash`);
|
||||
console.log(`\x1b[33m${userTag} (${userID})\x1b[0m launched command \x1b[33m${commandName}\x1b[0m with slash`);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -296,10 +296,10 @@ export default {
|
|||
const isOptOut = await db.optout.findOne({ where: { userID: message.author.id } });
|
||||
|
||||
if (isOptOut) {
|
||||
console.log(`A user launched command \x1b[33m${commandName}\x1b[0m using prefix`);
|
||||
console.log(`A user launched command \x1b[33m${commandName}\x1b[0m with prefix`);
|
||||
}
|
||||
else {
|
||||
console.log(`\x1b[33m${userTag} (${userID})\x1b[0m launched command \x1b[33m${commandName}\x1b[0m using prefix`);
|
||||
console.log(`\x1b[33m${userTag} (${userID})\x1b[0m launched command \x1b[33m${commandName}\x1b[0m with prefix`);
|
||||
}
|
||||
|
||||
// Owner only check
|
||||
|
|
Loading…
Reference in a new issue