Discord bot written in D

2020-04-06 Thread Quantium via Digitalmars-d-learn
Are there any libraries to creade a simple discord bot using D? And if you know these libraries, could you day me their pros and cons?

Re: switch case range inclusive or exclusive?

2020-04-06 Thread Steven Schveighoffer via Digitalmars-d-learn
On 4/6/20 5:50 AM, WebFreak001 wrote: In the D spec it says for CaseRangeStatement: https://dlang.org/spec/statement.html#CaseRangeStatement A CaseRangeStatement is a shorthand for listing a series of case statements from FirstExp to LastExp. does this mean LastExp is inclusive or exclusive p

switch case range inclusive or exclusive?

2020-04-06 Thread WebFreak001 via Digitalmars-d-learn
In the D spec it says for CaseRangeStatement: https://dlang.org/spec/statement.html#CaseRangeStatement A CaseRangeStatement is a shorthand for listing a series of case statements from FirstExp to LastExp. does this mean LastExp is inclusive or exclusive part of the range? I think the spec n

Re: D on android and d_android

2020-04-06 Thread Jan Hönig via Digitalmars-d-learn
Little off-topic, but I think it should fit here well. Is there some "Hello World!" example for D on Android? Having a simple example is a great springboard to start a project with lot of unknowns. On the weekend I started creating an App (kotlin), really simple stuff. However there is just