Commit graph

51 commits

Author SHA1 Message Date
d127f54f0c
remove double & 2022-01-05 01:50:12 +01:00
d625322305
ignore resultat because the err is unrelevant 2022-01-05 01:50:06 +01:00
b099674fef
send message 2022-01-05 01:37:20 +01:00
7ccb1e0dc7
remove useless debug message 2022-01-05 01:37:12 +01:00
e8069d93cc
fix typo 2022-01-05 01:30:32 +01:00
52872ffebf
Add
- Channel Structure
- API Endpoint of the list of available channels
- Function who return the correct ID of the channel filled in the .env file
2022-01-05 01:26:06 +01:00
67a668dfb4
fetch directly the id of the channel 2022-01-05 01:24:35 +01:00
1ac723d6d5
make retrieve of salon in mattermost file 2022-01-05 01:24:17 +01:00
c8a3038364
clone everything 2022-01-05 00:12:41 +01:00
74fb2fe396
give data 2022-01-05 00:12:24 +01:00
b6719aee2f
strange behaviour 2022-01-05 00:12:04 +01:00
45a9aca748
draft send discord message on mattermost 2022-01-04 22:52:14 +01:00
adf89e2132
Add API and room to discord 2022-01-04 22:51:52 +01:00
20df687c17
translate 2022-01-04 22:51:13 +01:00
06a5c4a8cc
better comment 2022-01-04 20:35:28 +01:00
b5488219a6
Add comments 2022-01-04 20:34:12 +01:00
7e8da0d900
Add basic connection to Discord + a basic command 2022-01-04 20:32:58 +01:00
f897c54ce9
add println error macro 2022-01-04 18:32:13 +01:00
ee11a54195
fmt + fixes newlines 2022-01-04 18:26:00 +01:00
d20383ea2d
draft discord connection function 2022-01-04 18:19:41 +01:00
76f3babd53
Changes
- Better errors message
- Add function to connect to mattermost
2022-01-04 18:19:30 +01:00
97060193b0
seek for discord token 2022-01-04 18:18:32 +01:00
34b16cb5d4
separate file for error message function 2022-01-04 18:17:46 +01:00
701941b121
add track 2022-01-03 19:43:02 +01:00
a6341f75e1
add a connection function to the mattermost websocket 2022-01-03 19:38:59 +01:00
3932351467
some blabla temp 2022-01-03 19:11:44 +01:00
a676e33c56
Update func name + Clippy 2022-01-03 18:43:07 +01:00
a2a62b0fec
passes through a String variable before being sent to stdout 2022-01-03 18:40:20 +01:00
448ffe896e
Better display of dates 2022-01-03 11:29:58 +01:00
835dd470ca
impl print trait for the team info 2022-01-03 11:15:14 +01:00
2182791142
fix typo 2022-01-03 10:50:41 +01:00
4bbe2996af
apply clippy reccomendations 2022-01-03 10:49:11 +01:00
feb964ea8a
cargo fmt 2022-01-03 10:42:26 +01:00
181c6dc69b
fix typo 2022-01-03 10:38:45 +01:00
4eccee91d1
Separates the connection function and the test function 2022-01-03 10:38:20 +01:00
dd149d194a
more flexible url support 2022-01-03 10:33:29 +01:00
25a1728c67
add prettier error message 2022-01-03 10:16:16 +01:00
2d90fb7629
flexible token and login/password support for login 2021-12-21 11:02:43 +01:00
0740cb263e
fix order of args when calling the connexion function 2021-12-21 10:25:09 +01:00
9de03acd4c
Modifications:
- use password instead of token auth
- ask for team name in .env file
- update disclaimer
2021-12-21 10:24:07 +01:00
b499a106d6
fix crash when cannot connect to the api 2021-12-21 10:04:51 +01:00
fbd4833c53
use tokio instead of blocking the main thread 2021-12-21 09:59:35 +01:00
13d4c81a7b
block main thread in main function whe calling async function 2021-12-21 09:47:01 +01:00
318bda5d47
add URL 2021-12-21 09:24:32 +01:00
0abc1f7042
call function from the mattermost file 2021-12-21 09:21:41 +01:00
9b3aeaf6ac
use mattermost_api 2021-12-21 09:21:25 +01:00
76772e53f3
reverse to 3101b14 trying to re-use mattermost_api crate 2021-12-21 09:12:40 +01:00
89a9fc6543 trim whitespaces 2021-12-10 17:05:12 +01:00
d26183445e draft 2021-12-10 16:41:54 +01:00
3101b14ec2 Add token storage in a .env file 2021-12-03 10:48:11 +01:00