Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Ash
Discord Bot
Commits
dac20229
Commit
dac20229
authored
Aug 06, 2019
by
tec
Browse files
Reword welcome message
parent
b7548e5e
Changes
1
Show whitespace changes
Inline
Side-by-side
src/main.rs
View file @
dac20229
...
@@ -155,7 +155,8 @@ impl EventHandler for Handler {
...
@@ -155,7 +155,8 @@ impl EventHandler for Handler {
let
mut
message
=
MessageBuilder
::
new
();
let
mut
message
=
MessageBuilder
::
new
();
message
.push
(
"Nice to see you here "
);
message
.push
(
"Nice to see you here "
);
message
.mention
(
&
new_member
);
message
.mention
(
&
new_member
);
message
.push
(
"! Would you care to introduce yourself?"
);
message
.push_line
(
"! Would you care to introduce yourself?"
);
message
.push
(
"If you're not sure where to start, perhaps you could tell us about your projects, your first computer…"
);
if
let
Err
(
why
)
=
WELCOME_CHANNEL
.say
(
&
ctx
,
message
.build
())
{
if
let
Err
(
why
)
=
WELCOME_CHANNEL
.say
(
&
ctx
,
message
.build
())
{
println!
(
"Error sending message: {:?}"
,
why
);
println!
(
"Error sending message: {:?}"
,
why
);
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment