This file contains 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
package random | |
import ( | |
"math/rand" | |
"reflect" | |
) | |
// Generate a multidimensional matrix with random numbers | |
func Rand(seq ...int) interface{} { | |
// Declare numbers to fill |
This file contains 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
new (require('discord.js')).Client().on('ready', () => {console.log("OnelineBot ready!")}).on('message',function(message){if(message.content.startsWith("t!")){try{require(`./commands/${message.content.split(" ")[0].substring(2)}`).execute(message)}catch(e){console.log("couldnt find command")}}}).login(token) |