mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2024-11-27 09:35:35 -05:00
i forgor async selector
i found out about this when i did .wiki and nothing happens
This commit is contained in:
parent
f5742da82e
commit
f078a5e056
4 changed files with 7 additions and 7 deletions
|
@ -9,7 +9,7 @@ module.exports = {
|
|||
alias: [],
|
||||
trusted: 0,
|
||||
usage: '<image url (JPEG, PNG, WebP, AVIF, GIF, SVG, TIFF)>',
|
||||
execute: async function(bot, username, usernameraw, sender, prefix, args) {
|
||||
execute: async function(bot, username, usernameraw, sender, prefix, args, config, hash, ownerhash, selector) {
|
||||
try {
|
||||
const url = args.join(' ');
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ module.exports = {
|
|||
description: 'Translate a message from any language to any language using Google Translate',
|
||||
usage: '<language 1> <language 2> <message>',
|
||||
trusted: 0,
|
||||
execute: async function(bot, username, usernameraw, sender, prefix, args) {
|
||||
execute: async function(bot, username, usernameraw, sender, prefix, args, config, hash, ownerhash, selector) {
|
||||
try {
|
||||
const res = await translate(args.slice(2).join(' '), {from: args[0], to: args[1]});
|
||||
bot.tellraw(selector, [{text: 'Result: ', color: 'gold'}, {text: res.text, color: 'green'}]);
|
||||
|
|
|
@ -8,7 +8,7 @@ module.exports = {
|
|||
description: 'Working Wikipedia!',
|
||||
usage: '<page>',
|
||||
trusted: 0,
|
||||
execute: async function(bot, username, usernameraw, sender, prefix, args) {
|
||||
execute: async function(bot, username, usernameraw, sender, prefix, args, config, hash, ownerhash, selector) {
|
||||
try {
|
||||
const page = await wiki.page(args.join(' '));
|
||||
const summary = await page.summary();
|
||||
|
|
|
@ -66,10 +66,10 @@ module.exports = {
|
|||
'host': 'kitsune.icu',
|
||||
'port': 25565,
|
||||
},
|
||||
// {
|
||||
// 'host': '71.179.136.66',
|
||||
// 'port': 25565,
|
||||
// },
|
||||
{
|
||||
'host': '71.179.136.66',
|
||||
'port': 25565,
|
||||
},
|
||||
// {
|
||||
// 'host': 'mc.chomens41793.ga',
|
||||
// 'port': 25565,
|
||||
|
|
Loading…
Reference in a new issue