This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| blueslimexdfodeu@instance-1:~/v$ v tools/vpm.v | |
| ================ V panic ================ | |
| module: builtin | |
| function: substr() | |
| file: /home/blueslimexdfodeu/v/vlib/builtin/string.v | |
| line: 495 | |
| message: substr(-7, 193) out of bounds (len=193) | |
| ========================================= | |
| | 0x557f38b60409 | v(panic_debug+0x135) | |
| | 0x557f38b64a97 | v(string_substr+0xe6) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| if [ -z "$2" ]; then | |
| echo -e "WARNING!!\nYou need to pass the WEBHOOK_URL environment variable as the second argument to this script.\nFor details & guide, visit: https://github.com/DiscordHooks/travis-ci-discord-webhook" && exit | |
| fi | |
| echo -e "[Webhook]: Sending webhook to Discord...\\n"; | |
| case $1 in | |
| "success" ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const { Command } = require('discord.js-commando'); | |
| class ExecCommand extends Command { | |
| constructor (client) { | |
| super (client, { | |
| name: "exec", | |
| aliases: ["bash"], | |
| group: "commands", | |
| memberName: "exec", | |
| description: "Run something on terminal", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const querystring = require('querystring'); | |
| const long = require('long'); | |
| const Permissions = require('../../util/Permissions'); | |
| const Constants = require('../../util/Constants'); | |
| const Endpoints = Constants.Endpoints; | |
| const Collection = require('../../util/Collection'); | |
| const Util = require('../../util/Util'); | |
| const translate = require('google-translate-api'); | |
| //const translatecache = new Map( | |
| /** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const querystring = require('querystring'); | |
| const long = require('long'); | |
| const Permissions = require('../../util/Permissions'); | |
| const Constants = require('../../util/Constants'); | |
| const Endpoints = Constants.Endpoints; | |
| const Collection = require('../../util/Collection'); | |
| const Util = require('../../util/Util'); | |
| const User = require('../../structures/User'); | |
| const GuildMember = require('../../structures/GuildMember'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function onMessageReceived(event) { | |
| if (event.getMessage().getTextChannel().getId() == "359139508681310212" || event.getMessage().getTextChannel().getId() == "367396241593597953"){ | |
| event.getMessage().addReaction("👍"); | |
| event.getMessage().addReaction("👎"); | |
| event.getMessage().addReaction("😍"); | |
| return; | |
| } | |
| var mensagem = event.getMessage().getRawContent().toLowerCase(); | |
NewerOlder