Compare commits

...

4 Commits

Author SHA1 Message Date
Tristan B. Velloza Kildaire ebe50679b7 App
- Set fake lag to `0`
2023-07-03 14:41:24 +02:00
Tristan B. Velloza Kildaire d59a538851 - Updated supported modules 2023-07-03 14:39:28 +02:00
Tristan B. Velloza Kildaire bdd96f63d3 App
- Cast to `ushort`
2023-07-03 14:37:41 +02:00
Tristan B. Velloza Kildaire 0638b6c713 App
- Read in the server's address and port from the configuration file
2023-07-03 14:34:43 +02:00
2 changed files with 5 additions and 2 deletions

View File

@ -17,6 +17,9 @@ Many modules are supported (you can see [here]()) but to name a few we have:
* You can do Rot13 using `.rot13 <Text>`
3. Ping
* Let's you ping a endpoint with `.ping <addr/domain>`
4. Urban dictionary
* Let's you ookup definitions on Urban dictionary
* Using `.ub Marshmellow`
## Credits

View File

@ -33,10 +33,10 @@ void main(string[] args)
}
// TODO: Extract config info here and set it in the `connInfo` below
ConnectionInfo connInfo = ConnectionInfo.newConnection("worcester.community.networks.deavmi.assigned.network", 6667, "bottyng", "doggie", "Tristan B. Kildaire");
ConnectionInfo connInfo = ConnectionInfo.newConnection(config.serverAddr, cast(ushort)config.serverPort, "bottyng", "doggie", "Tristan B. Kildaire");
// // Set the fakelag to 1 second
// connInfo.setFakeLag(1);
connInfo.setFakeLag(0);
Bot botty = new Bot(connInfo, config);