mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-20 21:44:48 +02:00
Fix
This commit is contained in:
@@ -21,7 +21,7 @@ module.exports = class CowSayCommand extends Command {
|
|||||||
|
|
||||||
async run(msg, { text }) {
|
async run(msg, { text }) {
|
||||||
try {
|
try {
|
||||||
const { body } = request
|
const { body } = await request
|
||||||
.get('http://cowsay.morecode.org/say')
|
.get('http://cowsay.morecode.org/say')
|
||||||
.query({
|
.query({
|
||||||
message: text,
|
message: text,
|
||||||
|
|||||||
Reference in New Issue
Block a user