Joey Hines
|
0e480ccebe
|
Updated more tests
|
2018-09-21 19:58:56 -05:00 |
Joey Hines
|
a14a3e1d31
|
Added a constant for test cases so its easy to change the mc username.
|
2018-09-21 12:22:17 -05:00 |
Joey Hines
|
3026b240f4
|
Added better error checking for find_player and add_player
|
2018-09-21 07:27:32 -05:00 |
Joey Hines
|
57ec4830cf
|
More clearly defined the difference between the interface and commands layer. Interface handles getting certain info from the database while commands formats that data.
|
2018-09-20 12:25:42 -05:00 |
Joey Hines
|
2aad1a3344
|
Updated tests for Commands and refactored the location lookup logic
|
2018-09-20 09:20:30 -05:00 |
Joey Hines
|
63970bdbef
|
Updated DatabaseInterface unit tests to have better code coverage.
|
2018-09-19 15:41:32 -05:00 |
Joey Hines
|
5f3d80683c
|
updated version to 1.0.3
|
2018-09-19 09:26:22 -05:00 |
Joey Hines
|
1bf2ac931b
|
fixed ?selling now raising an error if no argument is provided
|
2018-09-19 09:25:02 -05:00 |
Joey Hines
|
7b36784a89
|
Username update code now working
|
2018-09-19 09:23:03 -05:00 |
Joey Hines
|
959b587e14
|
changed y_pos in edit_pos to z_pos
|
2018-09-19 08:28:42 -05:00 |
Joey Hines
|
2656ae5940
|
update version number
|
2018-09-17 09:01:02 -05:00 |
Joey Hines
|
446adfa6dc
|
help in channel message now works regardless of case
|
2018-09-16 22:52:04 -05:00 |
Joey Hines
|
e2e943f22c
|
Fixed error message with ?register when the user was already in the database
|
2018-09-16 17:32:14 -05:00 |
Joey Hines
|
8373bc0c31
|
register has a lot less duplicated code from add_player() in DatabaseInterface. Might have been part of the problem.
|
2018-09-16 13:34:33 -05:00 |
Joey Hines
|
b4d7e598d3
|
missing word
|
2018-09-15 19:54:03 -05:00 |
Joey Hines
|
e82528e62c
|
improved a few more help messages
|
2018-09-15 12:57:57 -05:00 |
Joey Hines
|
a7a017fdd4
|
improved a few help messages
|
2018-09-15 10:24:39 -05:00 |
Joey Hines
|
52bc832f13
|
Selling now takes items with spaces in them name
|
2018-09-14 11:50:26 -05:00 |
Joey Hines
|
1ed9252858
|
Band-aid solution for the register problem. Mods can now manually add players to the database. Mods can now search for players too. Also fixed a few small issues.
|
2018-09-14 08:21:02 -05:00 |
Joey Hines
|
135aabb248
|
?register now tells the user about help
|
2018-09-13 16:02:52 -05:00 |
Joey Hines
|
c3b10d2ad9
|
Improved some help messages.
|
2018-09-13 15:31:54 -05:00 |
Joey Hines
|
984c693c88
|
Removed pool_pre_ping=True from create_engine.
|
2018-09-13 14:14:28 -05:00 |
Joey Hines
|
23c9ecc72a
|
Removed the catch all for exceptions in add_object. Exceptions will now raise out of that function.
|
2018-09-13 14:00:59 -05:00 |
Joey Hines
|
18ec866fb0
|
Fixed issue with adding a tunnel without a location in the database.
|
2018-09-13 13:28:18 -05:00 |
Joey Hines
|
fcafb1d141
|
Changed default database driver.
|
2018-09-13 12:46:26 -05:00 |
Joey Hines
|
a1c937350e
|
Tunnel color changed to tunnel direction.
|
2018-09-13 12:08:36 -05:00 |
Joey Hines
|
407566a488
|
Tunnel color changed to tunnel direction.
|
2018-09-13 12:06:37 -05:00 |
Joey Hines
|
81ed6f9032
|
Bunch of polishing, looks good for release. Version number now 1.0.0.
|
2018-09-13 11:25:40 -05:00 |
Joey Hines
|
6e03ce3fdf
|
updated readme
|
2018-09-12 17:21:35 -05:00 |
Joey Hines
|
4911358dc3
|
Limited the results of the inventory of a shop for the ?info command.
|
2018-09-12 16:47:40 -05:00 |
Joey Hines
|
ede95f5d1f
|
Few small details fixed
|
2018-09-12 16:29:28 -05:00 |
Joey Hines
|
3f477eefc5
|
The bot now uses the rewrite... like it should have this whole time...
|
2018-09-12 16:11:56 -05:00 |
Joey Hines
|
6e6ba39fab
|
Log file path can now be set in the config and all errors are now logged.
|
2018-09-12 14:33:57 -05:00 |
Etzelia
|
6a2d867a47
|
Updated log to use an absolute path.
|
2018-09-12 12:31:20 -05:00 |
Etzelia
|
c9aa6dcde2
|
Updated change_presence to new rewrite format.
|
2018-09-12 12:01:44 -05:00 |
Joey Hines
|
af08269f56
|
Fixed error handling for bad username lookups and updated tests.
|
2018-09-10 09:24:15 -05:00 |
Joey Hines
|
975648a926
|
Default status now controlled by config again
|
2018-08-30 12:31:15 -05:00 |
Joey Hines
|
0d26818fa6
|
Refactored DatabaseInterface to move all location addition and searching into one set of functions. The type of location is then specified as a parameter.
|
2018-08-30 12:27:05 -05:00 |
Joey Hines
|
2111bf8c8e
|
fixed issue with ?register function. Also cleaned up code a bit
|
2018-08-30 11:46:20 -05:00 |
Joey Hines
|
6748f01208
|
Refactored bot.py to wrap Geoffrey in his own class. This will be better for the future for expansions and allowed for cleaning up a lot of the config mess. The Config now all features back except for the named tunnel directions which are removed for now...
|
2018-08-30 11:34:19 -05:00 |
Joey Hines
|
fc9e7da9c4
|
Fixed import issue
|
2018-08-30 08:59:32 -05:00 |
Joey Hines
|
d3998aa1cd
|
Improved error handling for configs that don't exist.
|
2018-08-30 08:58:54 -05:00 |
Joey Hines
|
89bf3b0ba7
|
Refactored how the config file is handled. The location can now be passed in as an arg in start_bot... This broke a few features of the config
|
2018-08-29 16:10:35 -05:00 |
Joey Hines
|
175e95a3e6
|
Fixed issue with db relations post table name change
|
2018-08-29 13:49:48 -05:00 |
Joey Hines
|
3e7d721d2e
|
Merge branch 'master' of https://github.com/joeyahines/Geoffrey
|
2018-08-29 13:38:45 -05:00 |
Joey Hines
|
6083e9d1c7
|
Updated error handling to better suited for when an error dosen't have an origina attr
|
2018-08-29 13:37:06 -05:00 |
Etzelia
|
ae47151237
|
Change table names
|
2018-08-29 11:27:49 -05:00 |
Etzelia
|
e89c3cc766
|
Updated change_presence in mod command
|
2018-08-29 11:21:24 -05:00 |
Etzelia
|
8db428019f
|
Update change_presence
Discord.py updated their method to use an activity instead. Based on their example, this should work.
|
2018-08-29 11:20:00 -05:00 |
Etzelia
|
f1d1283c6b
|
Create __init__.py
Added __init__ so Python understands that it's a module.
|
2018-08-29 10:57:32 -05:00 |